Capx:http://dl.dropbox.com/u/1910765/bugtest3.capx
More specifically, it crashes when adding an object to a family that already had a behaviour, and then trying to save/run the game, the program crashes with this error:
Note: To reproduce the crash in the .capx, edit the family called "NormalGems" (which is the family that has the bullet behaviour) and add some sprites to this family. Then save or run the game.
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
GetBehaviorInstanceFor(): object instance does not have an associated behavior instance
Condition: i != instances.end()
File: Projects\BehaviorType.cpp
Line: 183
Function: class BehaviorInstance &__cdecl BehaviorType::GetBehaviorInstanceFor(class ObjectInstance &)
Build: release 91 (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
---------------------------