I’m trying to use xdoc in my project, but I am in trouble.
When starting the scene, the following error occurs.
Please let me know if you know how to deal with it.
UnityEditor.SerializedObject..ctor (UnityEngine.Object objs, UnityEngine.Object context) (at C:/buildslave/unity/build/artifacts/generated/common/editor/SerializedPropertyBindings.gen.cs:87)
UnityEditor.Editor.GetSerializedObjectInternal () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:193)
UnityEditor.Editor.get_serializedObject () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:185)
I am using Google translation because I am not good at English.
I’m sorry if the sentences are weird.
As a side note: I could recreate this bug without xDoc installed, and in a nearly empty project:
- Create an empty project
- Save the scene
- Add a Gameobject: GameObject -> UI -> Scroll View
- To the “Scroll View” object: Add the “Mask (Script)” Component
- Run the scene and the error appears.
The error appears for Unity 5.6.1f1. But with Unity 2017.1.0f3 it just runs fine. Therefore I haven’t reported it to Unity at the moment.