Edit: Sorry, i should have put this in another forum.
I've got a situation.
I've got two scenes, SCENE1 and SCENE2. When i put LevelWaveSettings prefab on SCENE2, everything works fine. However, when i put it on SCENE1 and check Persist Between Scenes i get a huge memory leak which crashes Unity as soon as i run out of memory which is 8 gigs, Unity does not use more that 2 gigs when i put LevelWaveSettings to SCENE2. Normally i wouldn't mind, but i need it to be in the first scene so i can load the prefabs to shorten the loading time.
I'm using CoreGameKit v22.214.171.124 with Unity 2018.3.7.
Post by DarkTonic Dev on May 17, 2019 15:16:29 GMT
I can't fix a bug if I can't reproduce it. I don't believe that a memory leak is possible by anyting c-sharp is doing on my part. In other words it could be due to something wrong with mono or.Net and most likely not my coding.
I have been coding in C sharp for 16 years and I've never encountered a memory leak before. The Only Exception is when I include a dll that someone else wrote. Sorry I can't be of more help.