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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
alxcancado
Apr 29, 2017 19:48
Still not working at the 2017.1.0b2
Here is a photo:
https://ibb.co/jwr3kk