Problem Description
I added the sync instance variable and got these two errors when I pressed ok and then abort afterwards.
Error 1:
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
InstanceVariable is NULL in condition/action parameter
Condition: iv != NULL
File: Projects\Parameters.cpp
Line: 1151
Function: void __cdecl SubstituteParameterString(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,int,const class EventParameter &,int,bool)
Build: release 164 (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.
Error 2:
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Object texture leak: a texture is still loaded when cleaning up an ObjectTexture, check all textures released properly
Condition: gl_instances.empty()
File: Projects\ObjectTexture.cpp
Line: 33
Function: __cdecl ObjectTexture::~ObjectTexture(void)
Build: release 164 (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.
Attach a Capx
https://dl.dropboxusercontent.com/u/109921357/Multiplayer_test.capx
Description of Capx
The Capx is just a test of the multiplayer functionality, it allow two people to chat, and was trying to make a sprite sync between client and host.
Steps to Reproduce Bug
[1] Add sync instance variable to function "Sync unit"
[2] Add Sprite as object in the Sync instance variable and leave everything as default and press Ok.
Observed Result
C2 crashed.
Expected Result
That it didn't crash
Affected Browsers
Not related to browser but to C2.
Operating System and Service Pack
Windows 7
Construct 2 Version ID
r164