[r101] variable name to existing bug

0 favourites
  • 4 posts
From the Asset Store
Easily store, modify, read and manipulate colors with Color Variables!
  • I added a variable with name "Swirl" for one of the objects, and jumped error:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Setting instance variable name to existing name

    Condition: !object_class.HasNameInNamespace(name_)

    File: Projects\InstanceVariable.cpp

    Line: 60

    Function: void __cdecl InstanceVariable::SetName(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)

    Build: release 101 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

  • Please see how to report bugs.

    Your report is missing an example capx and/or precise steps to reproduce the bug.

    From the error message I take you already had an object named "Swirl".

    What is not clear is what is the type of this object, what type of variable (global, local, instance) you were trying to name, and that's why a capx would be really helpful to reproduce it.

  • Reproduce the problem can be by the addition of any variable with the name "Swirl" to any object! All of you surely noticed, the variable exists. This is because, first, it is created, and then there is an error! If you press the "Skip" - then you can continue to work and this variable will function as it should... but I do not dare to continue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're right, it was possible to name effects and instance variables the same, which should not be allowed. Should be fixed in the next build.

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