- Home /
Question by
KacperGorgon · Apr 28, 2020 at 03:14 PM ·
3dmusicdontdestroyonload
How to get rid of DontDestroyOnLoad?
So basically I created empty object (MusicBox), I attached music and script with DontDestroyOnLoad, but later I deleted both MusicBox and script, but in my game still appears (MusicBox and script) after build. How can I get rid of them?
Comment
Answer by LuigiDreemurr · Apr 28, 2020 at 06:27 PM
Is it still in the scene? Was it only deleted in a different area? Either its still there or something is making it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612232711im_/https://answers.unity.com/themes/thub/images/avi.jpg)