verse infinite loop runtime error without infinite loop

Summary

a weird infinite loop runtime error even though i break the loop has been happening since the new update

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

Get a loop that isnt infinite and get a runtime error

Expected Result

there should be no runtime error since the loop isnt infinite

Observed Result

there is a infinite loop serverside error

Platform(s)

PC

Island Code

4808-9578-7317

Upload an image


Additional Notes

has been happening since the latest update

Can you show us your code?

1 Like


As you can see i break the loop

what if you change it to

spawn{SpawnedProp.MoveTo.......}
Sleep(0.33)

Would that still create the infinite loop error?

Also is some kind of outside force able to destroy your prop?
I created something similar and made the prop get disposed and the MoveTo function finished instantaneously thus crashing verse for infinite loops

You can check if prop is valid before moving, also you can check/print the MoveTo result. (See digest files for explanation)

Lastly, avoid disposing/teleporting this prop during movement. Wait for movement to finish and only then teleport.

1 Like

i dont dispose the prop i hide it and show it so it can be used again