xDoc errors

Solved556 views
0

Hello!

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.

NullReferenceException: (null)
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)
xDocEditorBase.AnnotationModule.XDocAnnotationEditorBase.OnEnable ()

I am using Google translation because I am not good at English.
I’m sorry if the sentences are weird.

Question is closed for new answers.

Hi,

I have a few questions, please:

1) Which Unity version are you using?
2) Is this a new or existing project?
3) Did xDoc work before and broke now suddenly?
4) As far as I understand the error happens, when you press the play button in the editor. Am I right?

1

I did some research about this bug and this is an Unity bug. It has been already reported for different versions of Unity. Even though Unity closed the bug reports, the error keeps reappearing.

See these reports e.g.:

There are also related reports:

And finally

Where the answer is: “These are issues in the Unity editor and can be safely ignored. Restarting the Unity editor should remove the errors.”

As far as I understand, you just get the error message in the console. Your project still runs fine. In this case I would ask you too to ignore this error.

Please, feedback, if this is the case for you.

You are viewing 1 out of 3 answers, click here to view all answers.
Question and answer is powered by AnsPress.io

Comments are closed.

Comments are closed