After upgrade to 5.3.1, every particle system I instantiate to the game will report IsFinite() errors, including: IsFinite(d), IsFinite(outDistanceForSort), IsFinite(outDistanceAlongView). Which makes the game basically unplayable in editor. The weird thing is that if I drag a particle system prefab from project folder to the scene, it doesn’t report any error. Anything I instantiate from script will produce the error constantly. The particles themselves plays as normal.
Is there anyway to avoid this? Or it is just a serious issue that needs to be fixed asap.
That sounds like a completely different error. The thing that was fixed in 5.3.1p1 was empty particle systems producing “invalid AABB” and similar errors. If it’s something else (i.e. not “empty particle systems”) causing similar error, that’s a different bug. File it with repro please!