Of course now that I'm -one- day of releasing a playable version, I'm going to find stupid bugs that only occur in the standalone version but not in the editor where I work. This glitch is weird and it doesn't break the game, but I wish both systems would behave the same. I can still release the playable version, of course. I'm just bummed out.

Here's the code if anyone can help?

gameObject.AddComponent<ParticleSystem>();
gameObject.GetComponent<ParticleSystem>().particleSystem.startLifetime = 0.05f;
gameObject.GetComponent<ParticleSystem>().particleSystem.startColor = Color.red;
gameObject.GetComponent<ParticleSystem>().emissionRate = 100;
gameObject.GetComponent<ParticleSystem>().startSize = 1f;

Currently working onTesting the whole thing

Time spent on the project so far: 370 hours

Screenshot after the jump: In-editor and standalone

Posted
AuthorJérémie Tessier