Error after import

Solved237 views
0
0 Comments

xDoc Error: xDoc can’t load its Asset Resources!
Most probably the script assignments of xDoc’s scriptable objects got lost. These objects are located in the ‘Assets\Editor Default Resources\xDoc-FreeReader\Config’ folder. Either reassign them, reimport a working backup or contact support.
If you need the support link or email addresses, please refer to the xDoc tab in the Unity Preferences: ‘Edit’ menu -> ‘Preferences…’ -> ‘xDoc’.
UnityEngine.Debug:LogError(Object)
xDocBase.AssetManagement.AssetManager:ForceInit()
xDocBase.AssetManagement.AssetManager:.cctor()
xDoc.XDocAssetManagerAssistant:.cctor() (at Assets/Editor/xDoc-FreeReader/Scripts/XDocAssetManagerAssistant.cs:18)
xDoc.XDocAssetManagerAssistant:.cctor() (at Assets/Editor/xDoc-FreeReader/Scripts/XDocAssetManagerAssistant.cs:16)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
Checked the assignments, everything looks fine. Unity 2018.3

Question is closed for new answers.
Selected answer as best
1

Version 2.0 is published in the Unity Asset Store.

I have run a quick test: created a new project, updated xDoc from within the editor asset store window, imported it and now it works.

A few comments though:

  1. After update in the asset store window the “import” button did not appear. So I restarted the editor and there it was.
  2. After importing xDoc, the xDoc window was complaining about missing resources. So I restarted the editor and the error was gone and xDoc is running.
  3. One last bug I recognized is showing up while setting the colors. It is not a show stopper. It is possible to set the colors, but the user experience is not good and the editor might need to be restarted: The color picker does not work – so please don’t use it. Instead click into the color field, select a new color in the popup window and close the popup window by clicking the “x” in the top right corner.

But all in all,.. It works now 🙂 so download/import it and enjoy.

And thanks a lot for reporting and the feedback!

Posted new comment

I have imported xDoc Ver2.0 into Unity 2018.3.5f1 (create new project).
I get 11 warnings and 1 error.
Since it is possible to add Annotation with “Add Component”, it seems that it operates.
However, I do not know whether all the functions are working properly.

————————
xDoc Error: xDoc can’t load its Asset Resources!
Most probably the script assignments of xDoc’s scriptable objects got lost. These objects are located in the ‘AssetsEditor Default ResourcesxDoc-FreeReaderConfig’ folder. Either reassign them, reimport a working backup or contact support.
If you need the support link or email addresses, please refer to the xDoc tab in the Unity Preferences: ‘Edit’ menu -> ‘Preferences…’ -> ‘xDoc’.
UnityEngine.Debug:LogError(Object)
xDocBase.AssetManagement.AssetManager:ForceInit() (at Assets/Editor Default Resources/xDoc-FreeReader/Scripts/Scripts-Base/AssetManager.cs:247)
xDocBase.AssetManagement.AssetManager:.cctor() (at Assets/Editor Default Resources/xDoc-FreeReader/Scripts/Scripts-Base/AssetManager.cs:168)
System.Object:__icall_wrapper_mono_generic_class_init()
xDoc.XDocAssetManagerAssistant:.cctor() (at Assets/Editor Default Resources/xDoc-FreeReader/Scripts/XDocAssetManagerAssistant.cs:16)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

Does the error persist after an editor restart?

Error is exactly the same after your update. Asset is unusable..

Please check out this video, which I hastily put together just now: https://youtu.be/xs9jLVxh18c

Please check, what we are doing and what you are doing. And report what is necessary.

There is an error right after the installation, but a restart of the Unity Editor fixes it and it does not appear again and xDoc is functional as it should.

The tests were conducted on a fully upgraded windows 10 machine.

Please also check the Unity Editor version. If you are using a different editor version, please feedback, so we can test against it as well.

I am not fully aware of Unity’s return policy. And just in case all this is too much of a hassle for you and you do not want to spend any more effort into this, please contact Unity to get your money back.

Or give me more input and feedback, so I can sort it out.

You are viewing 1 out of 6 answers, click here to view all answers.