You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
This topic is similar to, but distinct from #390. I don't know how your policy on issue topics is, feel free to merge these two, or ask me to reopen the old one.
Tested Xenko Editor Studio Versions: 1.8.1 and 1.8.2
Steps to reproduce
Start a new Xenko Project with default settings
Add a second assembly with "Update Package > Add Code Library". (again default settings)
Create an abstract script component "Parent" that inherits from, e.g. StartupScript (doesn't matter) in .MyLibrary
Reference .MyLibrary from the .Game assembly
Create a script that inherits from the Parent class, e.g. "Child"
Add the "Child" Component to an entity in a prefab or scene.
Build the project twice
Behavior
There are three types of errors, all seemingly related.
Sometimes the serializer goes down, with the inner exception saying "Could not find parent serializer for type ThreeDee.MyLibrary.Child"
Other times a seemingly related error occurs (exception details below) saying that the "Parent" type could not be loaded.
This setup also tends to bring the whole editor down at points where (I assume) (de)serialization happens, e.g. project (re)load and component adding/removing.
Thanks for the report. I could reproduce your issue.
Apparently the problem only occurs when a script inherits from another that is in a different code library. I could not reproduce if the derived script was in the same code library.
We will look into it and fix it in a future release.
This topic is similar to, but distinct from #390. I don't know how your policy on issue topics is, feel free to merge these two, or ask me to reopen the old one.
Tested Xenko Editor Studio Versions: 1.8.1 and 1.8.2
Steps to reproduce
Behavior
There are three types of errors, all seemingly related.
Git Repo
The repository is the same as in the last issue (https://github.com/jason-wilmans/xenkoMultipleAssemblies.git). I tagged the commit with the current example '#466', the old one with '#390'.
exception2details.txt
The text was updated successfully, but these errors were encountered: