Is there an existing issue for this?
Enter the name of the extension
3D particle emitter 3.1.0
Describe the bug of the extension
When creating a 0.1 duration particle effect every frame at a location*, set to automatically delete, the game's performance slowly gets bogged down to the point of not being able to maintain a steady frame rate. I tested manually deleting the emitters after a 0.1 wait instead of letting them delete automatically and the problem persisted. When using the same event setup to instead spawn and then delete a 3D Model no performance issues were observed.
(*I'm aware this likely isn't a very efficient way or the intended way of using this plugin, it was a temporary setup for what I was testing)
I confirmed in the debugger that the instances are being deleted, however the performance hit can be seen observed in the Profiler.
Steps to reproduce
- create an emitter at a location every frame and then have it automatically delete itself or delete it with an event
- wait for a couple of minutes and observe the performance
GDevelop platform
Desktop
GDevelop version
5.6.257
Platform info
Details
Windows 10
Additional context
I started this project with the 3D FPS template, and updated the plugin to 3.1.0
Is there an existing issue for this?
Enter the name of the extension
3D particle emitter 3.1.0
Describe the bug of the extension
When creating a 0.1 duration particle effect every frame at a location*, set to automatically delete, the game's performance slowly gets bogged down to the point of not being able to maintain a steady frame rate. I tested manually deleting the emitters after a 0.1 wait instead of letting them delete automatically and the problem persisted. When using the same event setup to instead spawn and then delete a 3D Model no performance issues were observed.
(*I'm aware this likely isn't a very efficient way or the intended way of using this plugin, it was a temporary setup for what I was testing)
I confirmed in the debugger that the instances are being deleted, however the performance hit can be seen observed in the Profiler.
Steps to reproduce
GDevelop platform
Desktop
GDevelop version
5.6.257
Platform info
Details
Windows 10
Additional context
I started this project with the 3D FPS template, and updated the plugin to 3.1.0