Failed to set model on Component still erroring after working through checklist
I have been working fine with normcore for sometime and have become accustomed to creating RealtimeComponents with models in the appropriate pattern, but recently:
I created a new realtime component called CustomizationManager which has a model CustomizationInfoModel
Since adding it to my realtime object: All the components under the parent view are throwing:
Failed to set model on component
Errors.
Checklist:
- Checked if the realtime.instantiate call is wrong
- Checked if the prefab is not in a resources folder
- Checked the hierarchy to see if the component is under "deprecated components" it's not
- Checked it was the right RealtimeComponent<TValue>
- Removed the component and added it back
- Removed the realtime view and all components and added them back
- Remade a new prefab
- Restarted unity
- Reimported my library
The problem is still persisting.
The interesting thing is when I add the new component to a realtime object it first appears under "deprecated components" and only that new component (CustomizationManager) is throwing the Failed to set model on component error.
Once I remove the realtime view and re-add it and the components back along with the new component (CustomizationManager), they all show up under the correct components in the inspector view but now all the realtime components with a model throw the Failed to set model on component
It's like this new component is some contagion or something contaminating otherwise healthy realtimeViews haha
Additional notes:
- Recently updated Editor versions to Unity 6000.0.50f1 LTS
- The bug started appearing after the upgrade
- Haven't tried reimporting normcore itself yet
I created a new realtime component called CustomizationManager which has a model CustomizationInfoModel
Since adding it to my realtime object: All the components under the parent view are throwing:
Failed to set model on component
Errors.
Checklist:
- Checked if the realtime.instantiate call is wrong
- Checked if the prefab is not in a resources folder
- Checked the hierarchy to see if the component is under "deprecated components" it's not
- Checked it was the right RealtimeComponent<TValue>
- Removed the component and added it back
- Removed the realtime view and all components and added them back
- Remade a new prefab
- Restarted unity
- Reimported my library
The problem is still persisting.
The interesting thing is when I add the new component to a realtime object it first appears under "deprecated components" and only that new component (CustomizationManager) is throwing the Failed to set model on component error.
Once I remove the realtime view and re-add it and the components back along with the new component (CustomizationManager), they all show up under the correct components in the inspector view but now all the realtime components with a model throw the Failed to set model on component
It's like this new component is some contagion or something contaminating otherwise healthy realtimeViews haha
Additional notes:
- Recently updated Editor versions to Unity 6000.0.50f1 LTS
- The bug started appearing after the upgrade
- Haven't tried reimporting normcore itself yet