<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[(memory) Problem adding and removing worldshadowlights multiple times]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">While programming on my project i stumbled across another problem. I initialize and deinitalize my "3d" world at the end and start of my game loop but i noticed the game and fuze would crash hard if i did this about 100 times (like going playing 100 games starting from titlescreen).</p>
<p dir="auto">I have traced it down to adding a worldshadowlight and destroying that light. after running it for 100 loops in this test program i get a memory allocation failed. And even fuze itself has become unstable then. If you get that error you have to restart fuze or it will crash on itself later on (for example when going to programs or even media or so).</p>
<p dir="auto">I have shared the test program but its still pending. Maybe there is something wrong with my code or there might be a bug somewhere in fuze's code dealing with this. Not sure if people actually already tested adding and removing a worldshadowlight multiple times.</p>
<p dir="auto">this is the code:<br />
<img src="/forum/assets/uploads/files/1613509308304-9784ece1-8e08-454c-b822-96a60808a537-image.png" alt="9784ece1-8e08-454c-b822-96a60808a537-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">and this is the code it's still pending but should be downloadable as soon as it's approved<br />
<img src="/forum/assets/uploads/files/1613509376016-fe6d65bb-b424-41ae-b24d-768b45f212c4-image.png" alt="fe6d65bb-b424-41ae-b24d-768b45f212c4-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">remeber if you test this out you will have to restart fuze.</p>
<p dir="auto">Does anyone see anything wrong with the code that i do ? thanks</p>
]]></description><link>http://fuzearena.com/forum//topic/1550/memory-problem-adding-and-removing-worldshadowlights-multiple-times</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 14:29:39 GMT</lastBuildDate><atom:link href="http://fuzearena.com/forum//topic/1550.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Feb 2021 21:03:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to (memory) Problem adding and removing worldshadowlights multiple times on Fri, 17 Sep 2021 18:21:53 GMT]]></title><description><![CDATA[<p dir="auto">just tested in 3.1.0 bug still exists</p>
]]></description><link>http://fuzearena.com/forum//post/16668</link><guid isPermaLink="true">http://fuzearena.com/forum//post/16668</guid><dc:creator><![CDATA[joyrider3774]]></dc:creator><pubDate>Fri, 17 Sep 2021 18:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to (memory) Problem adding and removing worldshadowlights multiple times on Wed, 10 Mar 2021 18:18:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://fuzearena.com/forum//uid/11">@Willpowered</a> <a class="plugin-mentions-user plugin-mentions-a" href="http://fuzearena.com/forum//uid/12">@Dave</a> just tested with 3.0.0 i think memory bug with worldshadowlight is not fixed. PS i only tested worldshadowlight as i'm not using any pointshadowlights</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1615400306322-64969c0e-4b79-4606-8afd-9d30591b3090-image.png" alt="64969c0e-4b79-4606-8afd-9d30591b3090-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://fuzearena.com/forum//post/14685</link><guid isPermaLink="true">http://fuzearena.com/forum//post/14685</guid><dc:creator><![CDATA[joyrider3774]]></dc:creator><pubDate>Wed, 10 Mar 2021 18:18:28 GMT</pubDate></item><item><title><![CDATA[Reply to (memory) Problem adding and removing worldshadowlights multiple times on Tue, 16 Feb 2021 21:36:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://fuzearena.com/forum//uid/11">@Willpowered</a> thanks for the info did not know that, it could indeed be the same or similar problem, but i was not entirely certain it was fuze's fault or my codes fault. Lets hope both are fixed at the same time</p>
]]></description><link>http://fuzearena.com/forum//post/14376</link><guid isPermaLink="true">http://fuzearena.com/forum//post/14376</guid><dc:creator><![CDATA[joyrider3774]]></dc:creator><pubDate>Tue, 16 Feb 2021 21:36:31 GMT</pubDate></item><item><title><![CDATA[Reply to (memory) Problem adding and removing worldshadowlights multiple times on Tue, 16 Feb 2021 21:29:07 GMT]]></title><description><![CDATA[<p dir="auto">I know that in the next patch there's a fix for memory leaks with point shadow lights, but I can't remember if it also addresses world shadow lights. Maybe <a class="plugin-mentions-user plugin-mentions-a" href="http://fuzearena.com/forum//uid/12">@Dave</a> can test it out.</p>
]]></description><link>http://fuzearena.com/forum//post/14375</link><guid isPermaLink="true">http://fuzearena.com/forum//post/14375</guid><dc:creator><![CDATA[Willpowered]]></dc:creator><pubDate>Tue, 16 Feb 2021 21:29:07 GMT</pubDate></item></channel></rss>