This is just to maintain a registry
You don't have problems with your project.
This is the procedure for the bug
-Start a brand new project.
-Create a tiled background.
-Save the project in folder.
-Open the project.
-Create another texture.
-Save it in CAPX file.
-Save in folder but on new clean folder, not the first one, for example.
Check the texture folder, it's missing the first texture and there is only the second, added while the software is running.
It missed to import to the CAPX the pre existent textures and saved on the CAPX only the new texture added when you opened it.
Close the project and try to open it again, it will give you an error, telling you it's missing a texture.
Take care about new textures when working with projects in folder, if you save your job in CAPX after importing a new tile object, all the others will be missing on the CAPX and you can lose your project.
I followed your steps and I could not reproduce any problem. All projects saved OK and opened OK afterwards. Am I missing something?
Ashley, the most weird issue, I can't reproduce it anymore.
Today, when I went to my house, reproduced the bug as well, and said, "well, I need to record it to Ashley". Went taking a bath, and later, I started to try reproduce the bug again and it never more occur..
I have two folders, test1, with the first try, missing the texture, and the recorded folder with the texture inside. No idea of why, but it's working well now...
Do you can keep the topic opened? I'll try on another computer and if it happen again I'll stay recording =(
Believe, it's not a bad joke of my part. It's frustrating =
Please watch the entire video, I reproduced it in a long way.
Now I can say, it's random. It's a freak random issue, and can occur on your first save or after hours of hard working, where it will break your folders and if you end saving in CAPX only, you can lose all your job. If you save in folder by the last time, you can just re-import the missing textures and the project will open normally.
Develop games in your browser. Powerful, performant & highly capable.
Very similar thing happened to me in r100.
I could reproduce it like 3 times with blank projects, but when I wanted to reproduce it again to post it here step by step it didn't ocurr anymore.
Was something like:
1. Open new project in folder
2. Add a Sprite
3. Run the project
4. Save as a folder project but in another folder, not the selected in step 1.
5. Close Construct.
6. Open Construct.
7. Open project previously saved in step 4.
8. Run project.
--> Error with the Sprite plugin... Something like "Sprite missing" (I forgot to take a screenshot one of the three times, sorry). I went to the "Animations" folder and there was no sprite, so, for that reason was the error.
Maybe there is a bug with the "Save as folder", and is just difficult to reproduce it several times.
The first time it happened to me was when I was backing up one of my projects and tried to run it. For that reason I tried to reproduce it and I could do it like 3 times with blank projects.
BTW, I don't have any third party plugins installed.
This also happens on r100
I can repro this problem over and over, at least on my machine.
One of my project got this problem, to fix this i manualy copy all the missing sprite,
but now everytime i want to "Save As" another project, all images will always missing
(even saving as single file will lost all of my images).
Here's an exact steps to repro on my machine
(you can use different folder if you want to, this is just for the sake of easier testing):
1. Make a folder on C: Drive called it C:\Scirra2. Copy this capx from my Dropbox to C:\Scirrahttps://dl.dropbox.com/u/39382262/BUG/SingleFile.capx
3. Open C:\Scirra\SingleFile.capx with C2 [r100]
4. Choose "Save As Project"
5. Browse to C:\Scirra
6. Make New folder inside C:\Scirra and called it Project01, click OK (to save as Project)
7. With file explorer look at these folder:
There is no image at all, all image file is missing.
8. also If you double click on the Sprite on the layout to open Edit Image, you'll see all images are also missing
doh... i forgot to post the Check Failure info for Ashley <img src="smileys/smiley9.gif" border="0" align="middle" />
here is what happen when you try to open the saved project earlier:
Construct 2 Check failure
Check failure! This is probably a bug:
Cannot find project file for animation frame
This can indicate project corruption - you may be able to retry/ignore these messages and replace missing images in the project. However, please report this issue to Scirra with the steps you were doing immediately before this problem occurred.
Function: void __cdecl AnimationFrame::Load(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)
Build: release 100 (64-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 2)
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
In this case, it's pure random, and providing a CAPX or project folder will not help to reproduce it ~_~
I was thinking these days about memory leaks, and it make more sense than a real bug, because sometimes it work and other times it don't..
GamerGon - I followed your steps twice and could not reproduce any issue in r100. It seemed to work fine.
Potato - I could reproduce a problem every time. Thanks for finding a reliable repro! I've managed to fix it for the next build. It potentially affects both save-as-capx and save-as-folder, so hopefully that's the last of this type of issue...
Ashley sure, I couldn't do it again neither. It was just to provide a new testimony about this issue and make it visible because it really happened to me. In one of my WIP projects, two times I had to copy manually all the "Animations" folder to the new saved project because all the sprites were missing.
Finally it helped to see what Potato had to say about it :)
Closed as should be fixed in r101.