Undo Error: Event block has two triggers

0 favourites
  • 3 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!):

    https://static3.scirra.net/uploads/articles/629/SpriteFontExamples.capx (the actual project where it happened, my Sprite Font tutorial)

    Steps to reproduce:

    1. Swap the FontFamily in the first trigger event (the whole event)

    2. Hit undo where it should switch the triggered event back.

    Observed result:

    It pops up an unhandled exception:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Caught XML exception when undoing an action, this is a bug

    Condition: false

    File: Undo.cpp

    Line: 154

    Function: void __cdecl UndoBuffer::Undo(unsigned int)

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

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

    Abort   Retry   Ignore   

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

    (I hit retry)

    it closed, and another popped up saying:

    "Error performing undo: Event block has two triggered conditions. This is a bug. Please report it!"

    I suspect it's trying to add the original trigger back before removing the modified one.

    Expected result:

    the original object would be placed back in the whole event.

    Browsers affected:

    n/a

    Operating system & service pack:

    Win7 64 bit

    Construct 2 version:

    r140

  • Can't reproduce: I select event 1, press R, select FontFamily2, press Undo, and it undoes correctly. No error. Am I missing something?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That figures it did it every time I tried last night. now it's working for me too.

    Close it, I can't get it again either.

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