What is this error and how do I fix this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What is this error and how do I fix this?

I am making a shooter game, and every time in one part, I get an error that crashes the app. I couldn't copy the error, but the error has 2 parts that I remember: it said not supported error, and it had a negative line number. How do I fix this?

23rd Mar 2019, 3:47 AM
Adler Vuong
Adler Vuong - avatar
4 Answers
+ 5
line 495: Math.random() This is what causes line 496 error And then cause line 427 error A tip to find error: see the error line, and check where every value comes from And other than this, there're still other bugs, try to find yourself first
23rd Mar 2019, 4:15 AM
Flandre Scarlet
Flandre Scarlet - avatar
+ 7
You can give the link here so that we can see the problem🤔
23rd Mar 2019, 3:52 AM
Flandre Scarlet
Flandre Scarlet - avatar
+ 4
Provide the link of source code.
23rd Mar 2019, 4:04 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
23rd Mar 2019, 4:04 AM
Adler Vuong
Adler Vuong - avatar