I have a normal GameObject prefab with component TestValue { Value = 5 }
There’s subscene in my scene, which has component PrefabSpawner { Prefab = that prefab above }
When I open Entity debugger, everything looks fine, there’s few entities and I can identify both spawner and prefab.
The problem is when I modify my prefab and set value to 8.
I cannot get the value 8 in Entity debugger (neither in edit mode or play mode).
I tried
- reimporting prefab
- reimporting subscene asset
- opening subscene, changing something, saving and closing
The only way to make it work was to create prefab copy, change the value and assign new prefab to PrefabSpawner…which is unacceptable for me.
Am I missing something? I’d be okay with writing some tool to rebuild all subscenes.
Using latest entities 0.3.0 and [GenerateAuthoringComponent] on both components.