A way to prevent scene variables game object from appearing in scene?

Ed WonWon 4 years ago updated by Lazlo Bonin (Lead Developer) 4 years ago 7

is there a way to prevent the "Scene Variables" game object from appearing a scene? It's driving me crazy as we don't actually use it in our project (instead preffering to store variables at the object level) and I don't want it saved as part of scenes

just a toggle for this in preferences would be nice, or only spawning it if a state machine is actually using it

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Changed this to an Idea thread.

At the moment there is no way of preventing it, because the variables window creates it when it needs to display them. I think I can make it an option for the next version while I'm at it (I'm refactoring scene variables in v.1.2.2 anyway).

For the record, however, do not that it's just a cosmetic change, as saving an empty scene variables object really does not take a lot of memory or processing time.

yeah the scene variables thing is also for source control, I don't want to have extra stuff in the scene accidentally commited, thank you for removing it in the next version!

awesome! thank you!