Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10 Second VM Time Limit #2

Open
muzdavines opened this issue Oct 1, 2021 · 2 comments
Open

10 Second VM Time Limit #2

muzdavines opened this issue Oct 1, 2021 · 2 comments
Assignees

Comments

@muzdavines
Copy link

When trying to load a large XML, the operation fails due to a 10 second time limit on the VM:

[UdonSharp] Assets/Resources/Foorack/UdonXML/UdonXML.cs(246,25): Udon runtime exception detected!
The VM encountered an error!
Program execution time exceeded max VM time of 10 seconds. You may want to check for infinite loops/recursion.
Program Counter was at 6488

@Foorack
Copy link
Owner

Foorack commented Oct 1, 2021

Hello, thanks for reporting this!

This is a known bug, and is a limitation in Udon itself. The Udon VM is killed if something is taking longer than 10 seconds (which means a single frame is 10 seconds long!).

Ways to fix this would either be optimization of the parser, or splitting it up onto multiple frames.

I'm currently away over the weekend, but will try to look at this next week.

@Foorack Foorack self-assigned this Oct 6, 2021
@elgansayer
Copy link

elgansayer commented Oct 11, 2024

Great work. This is painful. I hate UdonSharp :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants