Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.6.0b8
Issue ID
880680
Regression
Yes
NullReferenceException when using a Scroll View
Steps to reproduce :
- create a new Scrol View
- enter Playmode and notice the errors
NullReferenceException: (null)
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/SerializedPropertyBindings.gen.cs:87)
UnityEditor.Editor.GetSerializedObjectInternal () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:175)
UnityEditor.Editor.get_serializedObject () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:168)
UnityEditor.UI.GraphicEditor.OnEnable () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEditor.UI/UI/GraphicEditor.cs:34)
UnityEditor.UI.ImageEditor.OnEnable () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEditor.UI/UI/ImageEditor.cs:35)
*Note:
Regression from 5.6b7.
Comments (65)
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
- Material Component has two horizontal lines under it when its foldouts are closed
- Some selected Mesh Renderer Materials lead to Assets folder when pinged
- Editor colors appear darkened out when HDR Display Output is enabled
- Default Mesh Renderer Material cannot be found in the Select Material window after removing it from the GameObject
- UI Builder button text disappears in the GameView when the radius of the button is increased in a specific project
Archviz3d
Jul 06, 2017 08:26
+ Having the same issue, although im still using unity 5.6.0f3
kartonio
Jun 26, 2017 16:22
++
this was closed, but it stiil happens to me on 2 separate projects :(
feels like it IS "reproducible" ... and certainly NOT resolved (5.6.1f1 last release)!
jtd200
Jun 22, 2017 14:46
+1, also in 5.6.1f1. It breaks major components for a previously released title.
Benomuso
Jun 22, 2017 13:59
Also worth noting that I stop getting the error if I make the scroll view a prefab instead of just having it in the scene
Benomuso
Jun 22, 2017 13:55
I get the same error but only when I add text to the content of the scroll view. Also worth noting that my content gameobject has a VerticalLayoutGroup and ContentSizeFitter components attached
Colobon
Jun 15, 2017 21:48
+
5.6.1f1
redprogrammer
May 29, 2017 22:45
+
Fritsl
May 26, 2017 10:58
Me too
Jekel
May 17, 2017 15:54
NullReferenceException: (null)
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/SerializedPropertyBindings.gen.cs:87)
UnityEditor.Editor.GetSerializedObjectInternal () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:193)
UnityEditor.Editor.get_serializedObject () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:185)
UnityEditor.MaterialEditor.OnEnable () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/MaterialEditor.cs:1773)
Not-Steve
May 09, 2017 19:00
+