If the A* gameobject is present in the scene, the dependencies of that scene will include all the resources folder.
when i remove A* the dependencies are correct (from 2800 to about 400)
What could be causing this?
If the A* gameobject is present in the scene, the dependencies of that scene will include all the resources folder.
when i remove A* the dependencies are correct (from 2800 to about 400)
What could be causing this?
Not sure. The A* script is using Resources.Load in some places, but I don’t think unity scans for that. I assume with the ‘Resources folder’ that you mean the ‘MyProject/Assets/Resources/’ folder.
forgot to come here and clarify, the A* object we are using in scene is part of another prefab (at least it was keeping the link but not following it) and that prefab had a lot of gameobjects referenced in a script.
Ok, so the problem was solved?
yes, i completely removed the link to our prefab from the gameobject, that prefab has something like 1gb of referenced assets. so when unity was building the scene it searched for that prefab too. it had nothing to do with A*.