maybe i will same you some heartache
2 Likes
@Cute Iāve did this before in the Project Boost section. It was easy to rebuild but unfortunately this level is harder to build again.
At least youāll never forget this anymore. Because youāve set true DontForgettoSaveBeforeRenamingScenes script in your mindās component.
2 Likes
Saving often in small increments is almost always a good idea and especially if youāre about to wiggle at some fundamental details of the gameās structure.
Another good thing to do is to commit small steps into git (or whatever tool you use for tracking changes in your code).
And hereās the dilemma:
- You can rename it from within Unity and Unity will track of things to adjust (like the Sceneās name was updated in the project build configuration), but this might bypass gitās methods of keeping track of the scene (it wouldnāt know that the new files are still the same scene, just renamed).
- Or you do the renaming outside Unity with something like ā
git mv
ā and risk the project breaking if a reference doesnāt match anymore (most of the time the reference will be an internal ID and not the name so it should continue to work, or things could get really out of control, if a naming property was set that doesnāt match the file name anymore and Unity might get confused; and thereās another issue about this: If you rename the Scene-file there is a second āmetaā file and that has to be renamed as wellā¦)