[r66] Check failure when changing global var

0 favourites
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • C2 crashes when changing value of a global variable. I've tried

    On start of layout - Set global var to 1 = than it crashed

    <img src="http://dl.dropbox.com/u/10457408/Construct/ENG_FORUM/C2Bugs/globalbug.png" border="0" />

  • I can't reproduce. Did you click 'Back' in the dialog or some extra step I'm missing?

  • My exact steps, if it helps:

    Started the C2

    on the welcome window - Create new Project

    store project in single file - Create project

    Event Sheet - add global var - ok(default values)

    Add event - System - On start of layout

    Add action - System - set value to 1 - Done > crash

    I'll try 32-bit version..

  • Those steps work fine here. Does it happen every time if you do it again?

  • I've got the same problem here. I tried to modify a global value and get this:


    Construct 2 Check failure


    Check failure! This is probably a bug:

    Returning NULL event variable

    Condition: event_var != NULL

    File: Projects\Parameters.cpp

    Line: 285

    Function: class EventVariable *__thiscall EventParameter::GetEventVariable(void) const

    Build: release 66 (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.

  • I followed those steps from Noga and got the same error.

  • Yep, same crash following Noga's steps:

    Win 7

    Nvidia 8800 GT

    32 bit

  • Those steps work fine here. Does it happen every time if you do it again?

    I've changed default values when adding new global var (Variable1 to MyVar, Initial value 0 to 5 and Description to sometext) and it didn't crash, but only one time out of maybe 20, when trying to reproduce it. Now it crashes everytime, same with 32bit version.

  • The problem only happens when there is nothing in the "description" box, when I try to create a new global variable or object instance variable. So, try to leave the "description (optional)" box always in blank and calls the variable or property by a new event to reproduce the error.

  • I've tried both the 32 and 64 bit builds, and some different projects. It works fine for me, can't get it to crash at all. If you click 'ignore' does it continue to work or does it crash afterwards?

  • Repeated Noga's steps and got the same result and error message. Ignore,retry or Abort all result in Construct 2 crashing to desktop.

    win7 64bit


  • .

    Edit: the part where I set the variable doesn't show but you get the idea.

  • Same error here.

    Win7 x64

    GeForce GTX 260

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've created two files to try explain. First works fine and second crashes when I try to change the event. It crashes even clicking in "ignore".





  • I'm really not sure what's behind this - but I tried a quick fix:


    Can you try installing that and see if it's any better?

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