Uncaught Range Error (Stack Overflow)

0 favourites
  • 1 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Link to .capx file (required!):

    capx

    Steps to reproduce:

    1. Run preview

    2. Move player under blue box with arrow keys

    3. Shoot (space) blue box

    Observed result:<img src="http://crossbreadtech.com/imageserver/UncaughtRangeError.png" border="0">

    Expected result:

    The reason this occurs is because Event 11 uses On created to create an object of the same type. (The bubble spawner should have spawned a bubble instead of another spawner.) This is obviously incorrect, but the error message is only slightly less cryptic than "Stack overflow". If possible it would be nice to catch this, prevent the next object from being created, show the user an error pop-up, but not crash the game.

    It's obviously a bug that the game dev would need to address, but it renders the game unusable at that point and could be quite difficult to track down from the error text provided.

    Browsers affected:

    Chrome: yes

    Firefox: untested

    Internet Explorer: untested

    Operating system & service pack:

    Win 7 Ultimate SP1

    Construct 2 version:

    R152 64-bit

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)