Forums

OverviewV-Play 2 Support (Qt 5)Javascript usage causes crash › Reply To: Javascript usage causes crash

OverviewV-Play 2 Support (Qt 5)Javascript usage causes crash › Reply To: Javascript usage causes crash
#12272

GĂźnther
V-Play Team

Hi Batman! 😀
My guess is that somewhere in your code a function is used that requires a double-type parameter. Let’s say you pass an object, a null or an undefined value to this function per accident (this is possible because javascript variables don’t have a fixed type). That would then lead to an error like this.

You can try to check your variables before passing invalid values to the Math functions you suspect of being the problem.
Hope this helps!

Best, GĂźnther

  • This reply was modified 2 years, 7 months ago by  GT.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support