I have the problem with my scene that in the browser the application crashes on the error memory full. With the chrome needle extension I can monitor the js heap memory and it continiously fills up until it reaches around 4gb and than crashes.
At first I thought I had to many objects in my scene and startet using prefabs that get instantiated every second and it became stable, heap memory filling but always correcting down again. When everything is loaded its at around 350-400 mb and stays in that range.
But now with lightmaps the memory fills up again and crashes. When I delete the lightmaps everythings works fine again. I tried multiple lightmaps settings, the current settings is really low and results in 1 1k texture with a size of 300kb.
From my observation the lightmaps casue some leak somewhere causing heap memory to fill up non stop. Is there anything I can try out or some settings I might have missed I need to cehck out?
Thanks in advance
I’m sorry, I couldn’t find a response but notified the team ![]()
Hey, can’t get it to reproduce on my side. Can you please do a bug report from inside Unity via the ‘Needle Engine’ menu entry on the top bar, so we can take a look what causes this issue?
Thank you, I submitted the bug report from inside unity via needle engine menu.
following this, we also have a memory leak crashing the browser tab (all browsers, PC and Mobile) in our Project (which uses Unity baked Lightmaps too) and couldnt figure out what is causing it so far -,-
Hello, we’re currently looking into it.
Could you share some details about your project and ideally provide a bugreport so we can make sure the fix will work in your project too?
Thank you
It was the following, where i was waiting for a reply after sending you a DM …
Discord Thread
For work reasons I/We had’nt had time to continue work/fixing on this project (i’m responsible for most stuff, except the coding part) since then, but it’s still among the highest priority things for me personally, since this is/was basically my/our Needle Evaluation Project.
Greetings
Could you try updating your projects to 4.13.0 and let us know if this fixes your issue regarding memory? Thank you
only on Friday, but i will report back once i’ve tested it
@Marcel_Wiessler1 Looks like its fixed on my end. heap memory slowly going up while the scene loads but always correcting down again and actually never going above ~700 mb. Seems also that it corrects down more often than it did before on the working scenes without lightmaps.
Hope it also fixes the issue for @Aeleks
Thank you for fixing this ![]()
Can confirm that the memory leak issue seems to be fixed. Browser Tab RAM consumption looks stable and isnt infinetly growing anymore.
Can’t fully test the project rn, since there is a bug preventing me progressing further than the 1st level, but this might very well be on our end (its odd that it only showed up now), have to wait for my programme/coder to return, so he can take a look at this.
For now i would say that this ML issue is solved ![]()
This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.
