- Home /
What are 'Uncaught abort(x)' errors on WebGL.
So, I have been working on a WebGL game for several months and I had this kind of error messages on several occasions.
I managed to fix the issue most of the time, for example by removing try catch blocks in my code.
But in the end, I don't understand several things about these errors:
Can they happen because of a mistake in my code? Or are they only related to using something that doesn't work in WebGL?
There is an error code (ie: abort(84), abort(-1) ), what does this code means and is there some kind of documentation on it?
Answer by elenzil · Dec 14, 2016 at 11:09 PM
the top google result for "webgl abort" is a unity forums post which suggests:
- turning off code stripping 
- filing a bug w/ a specific repro to unity 
- updating your version of unity 
Hi, thank you for your help :)
Indeed I have seen several forum posts suggesting some of these as well as making sure you are not using threads and not using 'try ... catch' in your code.
I have already fixed this error several times in my project.
What I am looking for is a more general explanation on what this error means and if the error code ( -1, 84, ...) can be useful for debugging.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                