Problem Description
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
GetHICON returned NULL
Condition: ret != NULL
File: Projects\ObjectTexture.cpp
Line: 612
Function: struct HICON__ *__cdecl ResizeBitmapToIcon(const class cr::vector2_base<int> &,class Gdiplus::Bitmap *,int)
Build: release 167.2 (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.
---------------------------
Abort Retry Ignore
---------------------------
Attach a Capx
Can't post on forum.
Description of Capx
Insanity's Blade game.
Steps to Reproduce Bug
There seems to be no rhyme or reason to the cause. It just randomly happens. In the case of this error I was adding an event to an event sheet and the window pops open blank for a split second and then disappears. Upon hitting the enter key several times I finally got this window with an error.
Whenever I do events or try to save (export) an object image I get this one randomly. Another one I get which never gives me a visible error window and eventually I have to force quit - losing my work.
I've uninstalled C2 and even tried 32-bit instead of 64-bit. I've updated windows and video drivers. But This has just started happening since 164. I removed the Wii U plugin as well incase that was it. No new plugins aside of that have been added since.
As far as I Can tell it's related to the objects being minimized for the object window in c2. But sometimes text is missing too. I'll try rolling back to the stable build as I don't think we've used any of the new features.
Also - no other programs on my computer are having issues. No much new in the way of software since this is my work machine.
Observed Result
Blank windows, missing scroll bars. Missing gfx, closing windows and the occasional complete crash.
Expected Result
normal functionality of c2.
Affected Browsers
Does not apply.
Operating System and Service Pack
Windows 7-64 bit. Completely up to date.
Construct 2 Version ID
Currently 167.2
***EDIT***
I hit abort after that error and then got this one:
---------------------------
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: __thiscall ObjectTexture::~ObjectTexture(void)
Build: release 167.2 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)
***EDIT 2***
I've gone back to 163. Now it's doing it there as well. Either I've brought a bug back with me or something else has gone wrong. It's kind of reminding me of what CC used to do when I ran out of memory - the bigger my game got, the worse the crashing got. I'll go through the game and try to get rid of all of the garbage, but there is still more to add gamewise if so this is only a temp fix if it works. This time there was no error, just my variable boxes greyed out so I can't see what I'm typing and then it froze.