Quantcast
Channel: Questions in topic: "dontdestroyonload"
Viewing all articles
Browse latest Browse all 416

Why some objects are destroyed on loadlevel?

$
0
0
My level loads and some of my objects are making it through from the previous level, but some are being being destroyed. Using on all the objects: void Awake() { DontDestroyOnLoad(transform.gameObject); } The instant the new level loads, the void update on the above objects stop. Any ideas why some of the objects are ignoring DontDestroyOnLoad()? Thanks!

Viewing all articles
Browse latest Browse all 416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>