UdonXML
UdonXML copied to clipboard
10 Second VM Time Limit
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
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.
Great work. This is painful. I hate UdonSharp :D