Skip to content

Commit 2a065a3

Browse files
committed
Add Faq to README
1 parent 635a24d commit 2a065a3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ And still now it can support only windows platform.
1414

1515
Unzip [a release zip file](https://github.com/SaladbowlCreative/Unity3D.IncrementalCompiler/releases)
1616
to your unity project top-most directory.
17+
(Unblocking zip file before decompressing zip file might be required to
18+
avoid TypeLoadException of Unity-Mono.)
1719

1820
- When Unity 4.x, use IncrementalCompiler.Unity4.zip
1921
- When Unity 5.x, use IncrementalCompiler.Unity5.zip
@@ -47,6 +49,16 @@ Also you can manually modify a configure file which is located at project/Compil
4749
- [Benchmark](./docs/Benchmark.md)
4850
- [Under the hood](./docs/UnderTheHood.md)
4951

52+
### Faq
53+
54+
- When incremental compiler is installed, Unity claims something wrong like:
55+
```
56+
TypeLoadException: Could not load type 'UnityEditor.Modules.CSharpCompiler' from assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
57+
UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island, Boolean buildingForEditor, BuildTarget targetPlatform, Boolean runUpdater) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilers.cs:93)
58+
```
59+
This problem is usually caused by windows file blocking system.
60+
You need to unblock zip file before uncompressing this file.
61+
5062
### Related works
5163

5264
- An integration part between unity3d and incremental compiler is based on

0 commit comments

Comments
 (0)