Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b1
Issue ID
902710
Regression
Yes
[Regression]NullReferenceException in UnityEditor.Scripting.ScriptCompilation after importing Standard Assets Characters package
[Regression]NullReferenceException in UnityEditor.Scripting.ScriptCompilation after importing Standard Assets Characters package
Steps to repro:
1. Open Unity;
2. Create new project;
3. Import attached package.
OR
1. Open Unity;
2. Create new project;
3. In the Assets tab select Import package -> Characters.
Expected result:
Package is imported without errors.
Actual result:
Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Scripting.ScriptCompilation.EditorBuildRules.GetAllScriptAssemblies (IEnumerable`1 allSourceFiles, System.String projectDirectory, BuildFlags buildFlags, UnityEditor.Scripting.ScriptCompilation.ScriptAssemblySettings settings, UnityEditor.Scripting.ScriptCompilation.CompilationAssemblies assemblies) (at C:/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorBuildRules.cs:180)
is thrown to the console.
See attached screenshot for full error stack.
Regression introduced in Unity 2017.1.a3.
Notes:
- Reproducible in 2017.1.0b1, 2017.1.0a3;
- Not reproducible in 2017.1.0a2, 5.6.0p1, 5.6.0f3, 5.5.2p1;
- Reproducible on both OSX 10.12.3 and Windows 10;
- The bug reproduces under both .NET 3.5 and 4.6 scripting runtime versions.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Package files do not get checked out in Perforce when the project includes a provider callback
- Editor freezes when changing Gradient or AnimationCurve fields with the runtime binding system
- VFX throw errors upon importing it
- "NullReferenceException" error is thrown when swapping between built-in and URP depending on assets loaded out of asset bundles
- Objects receive a black outline in Ray Traced Screen Space Reflections
alxcancado
Apr 29, 2017 19:48
Still not working at the 2017.1.0b2
Here is a photo:
https://ibb.co/jwr3kk