Problem Description
Delete the project file for a project in memory, then export and it crashes on missing image files.
a Capx version works fine. (I usually use capx, so I didn't expect the difference.)
Attach a Capx
n/a
Steps to Reproduce Bug
- Create a project and add a sprite or two.
- Save the project as a Project folder
- Delete the project folder
- Export html5 project
Observed Result
ERROR:
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
cannot find animation frame either in last_path or project location
Condition: FileExists(GetProjectPath().c_str())
File: Projects\AnimationFrame.cpp
Line: 239
Function: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl AnimationFrame::GetActivePath(void) const
Build: release 197 (64-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 3)
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
---------------------------[/code:1msei819]
Abort drops out to desktop
Retry completes, but each missing graphic is replaced with 0x0 images, that somehow retain the proper frame icon in the editor.
Ignore just pops the error up again.
[b]Expected Result[/b]
The project would export with the images in memory, but having lost the paths to their source.
I wouldn't expect exporting to alter anything in memory. (0x0 images)
[b]Affected Browsers[/b]
n/a
[b]Operating System and Service Pack[/b]
Win 7 64bit
[b]Construct 2 Version ID[/b]
r197