[r60] index >= 0 error?

0 favourites
  • 11 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.
  • I got the same error message on my two computers when I want to run(test) the game..

    System: Windows XP SP3 / Windows 7 starter

    browser: Chrome / Firefox

    C2 release : r60

    I got these error message (as below) every time,

    sometimes C2 crashed after these message.

    <font color=red>---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Could not find object's combo property index

    Condition: index >= 0

    File: Projects\ObjectInstance.cpp

    Line: 623

    Function: class cr::pod<class std::vector<struct era::InstanceProperty,class std::allocator<struct era::InstanceProperty> > > __thiscall ObjectInstanceERACallback::GetProperties(void) const

    Build: release 60 (32-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.</font>

  • It's same error Iv'e experienced a few times. I'm sure it will get sorted when Ashley and Tom get back from their break.

    (I hope its raining !)

    <img src="smileys/smiley36.gif" border="0" align="middle" /> <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Ditto on this same error - here are my specs

    System: Windows 7 Home Premium

    Graphics card: 580 GTX

    browser: Chrome

    C2 release : r60

    How it happened:

    I started up C2, after I finished working on an animation in flash and exported my frames, I created a new sprite in my project and imported my images. This sprite was replacing another sprite for an attack move. After I deleted the OLD attack sprite from the project layout it began to crash.

    I tried reopening C2, but it kept crashing so I reinstalled it and I could open my project again. It saw the new sprite and its animation. I proceeded to remove all Event instances from the event sheet where the old sprite was being called up, replacing it with the new one.

    I ran preview and the same error that maximage has appeared for me. I hit ignore and continued to the browser. Eventually after using the preview button and hitting the ignore button C2 began crashing again.

  • This should have been fixed in r60. Is it a project you've imported from an older build or did it start happening within r60 itself?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • All within r60

    Here is my file:

    file

  • Can anyone affected provide their crashing .capx files?

  • Sorry for double post - Ashley look above for my file

    I replaced the file on the server with an updated capx.

    The capx still gives errors.

  • Somehow, this line has made it in to the project XML for the sprite "gold" object's "initial visibility" property:

    initial-visibility>undefined</initial-visibility>

    That should say one of the two options: "Visible" or "Invisible". I have no idea how it could end up with "undefined", it's not an option in the list! Any ideas what you were doing that led to this happening, in particular with that property?

    You can work around it by selecting all "gold" objects and selecting "visible" for the "initial visiblity" property again. Then it fixes it (it's no longer "undefined").

  • I have no idea how that occurred. I do remember selecting all coins and giving them a physics behavior. Thank you for discovering this. I wish I could tell you if I did anything differently other than selecting them all and giving them a behavior.

    updated: Still crashing and receiving the same error message after selecting all and applying visible.

  • updated: Still crashing and receiving the same error message after selecting all and applying visible.

    You might need to do it twice, there's a bug in the properties bar when objects have different values for the property and it blanks out.

  • Thank you for your help Ashley.

    I ended up deleting all the coins and testing from there on. After placing one coin and testing, then two coins and testing - it all worked out fine. I was concerned that the object's instance variable "coinSize" was the culprit because the coins defer from small to large which calls up their respective value.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)