EDIT: oh goodness, I had done a “Save as…” on my scene before working on DOTS traffic, but had not added the current/new scene in the “Scenes in Build” list on “Build Settings”
DUH!
Thanks @tertle for the ‘clear entity cache’, I’ll keep that in mind in case for some other day
Hello gang,
I have built some traffic that is visible in the Game view as well as the Scene view, but when I compile the game the traffic is not visible.
The compile runs without errors, as does the scene when run within Unity.
Any ideas on where I should start looking into this?
Unity 2022.3.13f1
URP: 14.0.9
EDIT: The error I was getting was because I had closed the Sub Scene in the editor and one of the components was not being created. This was NOT the issue with entities not displaying.
Someone had a similar issue on discord the other day. I suggested like 20 things without luck then joe suggested clearing entity scene cache which fixed it…
so maybe try delete entity scene cache to begin
If that’s not it, you need to confirm your actual subscenes are loading to start with and just to confirm when editor testing, you are doing it with a closed subscene not open?