Search Issue Tracker
Fixed in 2020.2.9f1
Votes
0
Found in
2020.2.0a15
2020.2.0b1
Issue ID
1273703
Regression
No
NullReferenceException error is thrown on installing any package when Scene Template window is open
-NullReferenceException error is thrown on installing any package when New scene Template window is open.
-Template window becomes blank.
Steps to repro:
1. Create a new project
2. Press "CTRL + N".
3. Windows > Package Manager > 2D SproteShape > Install.
Actual Result:
NullReferenceException error in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0b1, 2020.2.0a15.
Note: Scene Template is available from 2020.2.0a15.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SceneTemplate.SceneTemplateDialog.OnTemplateListViewSelectionChanged (System.Collections.Generic.IEnumerable`1[T] oldSelection, System.Collections.Generic.IEnumerable`1[T] newSelection) (at <a54f4468576a4ae592f9407f1bc66834>:0)
UnityEditor.SceneTemplate.GridView.SetSelection (System.Collections.Generic.IEnumerable`1[T] itemToSelect) (at <a54f4468576a4ae592f9407f1bc66834>:0)
UnityEditor.SceneTemplate.GridView.SetSelection (UnityEditor.SceneTemplate.GridView+Item itemToSelect) (at <a54f4468576a4ae592f9407f1bc66834>:0)
UnityEditor.SceneTemplate.SceneTemplateDialog.CreateAllSceneTemplateListsUI (UnityEngine.UIElements.VisualElement rootContainer) (at <a54f4468576a4ae592f9407f1bc66834>:0)
UnityEditor.SceneTemplate.SceneTemplateDialog.BuildUI () (at <a54f4468576a4ae592f9407f1bc66834>:0)
UnityEditor.SceneTemplate.SceneTemplateDialog.OnEnable () (at <a54f4468576a4ae592f9407f1bc66834>:0)
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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
Resolution Note (fix version 2020.2.9f1):
Fixed in 2020.2.0b3.3180