Updating Normcore from 2.1 to 3.0.0 webgl alpha
When updating from Normcore 2.1 to 3.0.0 and restarting Unity - I'm getting this error on all my models: Assets\Scripts\ReadySync.cs(6,14): error CS0311: The type 'UserReadyModel' cannot be used as type parameter 'TModel' in the generic type or method 'RealtimeComponent<TModel>'. There is no implicit reference conversion from 'UserReadyModel' to 'Normal.Realtime.RealtimeModel'.
3 Replies
Hi @xulipa. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information about updating from Normcore 2.1 to 3.0.0 WebGL alpha, nor do they address the specific error you're encountering.
However, it's worth noting that when upgrading from Normcore 1 to Normcore 2, it's important to ensure your project is compiling without any errors before you begin the upgrade process. If there are any errors in your project, the upgrade will not work. The same principle may apply when upgrading from Normcore 2.1 to 3.0.0 WebGL alpha.
Also, when removing or renaming properties in Unity 2019 or 2020, Normcore requires your project to compile for the model compiler to read the
[RealtimeProperty]
attributes on your model. If you're removing properties or renaming them, you need to follow certain steps to avoid breaking references in the code generated by the model compiler.
For more detailed assistance, I recommend reaching out to the Normcore community on their Discord (https://normcore.io/discord) or the forum (https://forum.normcore.io/). They may be able to provide more specific guidance on your issue.
For more information, you can also refer to the Normcore Documentation (https://normcore.io/documentation).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@725231244169707600> kapa.ai is still learning and improving, please let us know how it did by reacting below
Solution
Solved in #✨normcore