This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

Did anyone experience this ?
When setting particles to one shot in editor , every time I refresh emitting , a lag spike occurs. This lag spike is long enough to severely obstruct preview of particle emission, so it is very inconvenient for workflow. I am using Godot 3.5, but opened the scene in 3.2 and lag also happens. I have read before how Godot handles shader compillation and how it may cause lags, but it shouldn't happen in editor preview !?

Setup is : 3d particles with quad mesh set to billboard mode, with custom spatial shader provided with 2 textures. render mode blend_add unshaded. Total particles per emission - 18, but lags at any amount.

Godot version 3.5
in Engine by (8,188 points)

What if you preload the particles, making that version of the particles not one shot? (I got the idea from That way the material might already be loaded when you emit the one shot version of the particles and lag could be avoided?

I know this trick, but my particles freeze in the editor, not in running project. So I can't preload them, they are supposed to already be fully loaded. And this freezeframe makes it hard for me to work with particles in editor too, I don't even want to use them inside project yet.

Yeah, I'm having the same issue. It's fine in the game, but the in the editor, the particles freeze and stutter. Particles2D, CPUParticles, whatever.. It only processes intermittently if i'm moving the mouse. But, in the game, it renders fine.

Please, let me know if you solved this!

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.