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.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
alxcancado
Apr 29, 2017 19:48
Still not working at the 2017.1.0b2
Here is a photo:
https://ibb.co/jwr3kk