You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two spawn functions. Isaac.Spawn() (this one), which spawns an entity with a random seed, and Game():Spawn(), which spawns an entity with a specific seed. However due to a bug, Isaac.Spawn() has a chance to generate a seed of 0, which crashes the game. If you need to spawn an entity with a random seed, you should always use Game():Spawn() with a helper function that calls Random() and arbitrarily sets the seed to 1 when the seed is 0.
Would be nice if Repentogon fixed this issue, otherwise the game randomly crashes from time to time when the vanilla Isaac.Spawn() is used.
The text was updated successfully, but these errors were encountered:
See https://wofsauge.github.io/IsaacDocs/rep/Isaac.html#spawn
Would be nice if Repentogon fixed this issue, otherwise the game randomly crashes from time to time when the vanilla Isaac.Spawn() is used.
The text was updated successfully, but these errors were encountered: