[186][186.2] Audio filename cannot be found in project

Bugs will be moved here once resolved.

Post » Fri Oct 31, 2014 2:21 pm

Problem Description
Image

Screenshot of the Player.xml line 185 :
Image

Can open my project correctly with release 185, but not with 186 and 186.2

Operating System and Service Pack
win7 x64 sp1

Construct 2 Version ID
Construct 2 beta release 186 or 186.2
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Post » Fri Oct 31, 2014 2:40 pm

Same here.

Can't open my project since last beta because of this. Go, revert! : )
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Fri Oct 31, 2014 2:53 pm

Same here! [r186]
Be nice until it's time to not be nice
B
36
S
10
G
9
Posts: 293
Reputation: 6,712

Post » Fri Oct 31, 2014 4:02 pm

Can you provide a .capx as per the guidelines? It is almost impossible to do anything about this without one to investigate.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031

Post » Fri Oct 31, 2014 5:25 pm

@Ashley There should be some kind of error report option when an error occurs like most programs do. That way, people don't have to spend loads of time trying to recreate errors in new projects, which is sometimes impossible. I understand you're just two guys and I relate to that, so I commend you for the amazing amount of work you guys have done already. just something to think about (that you probably already knew) :P
B
20
S
2
Posts: 70
Reputation: 1,476

Post » Fri Oct 31, 2014 5:25 pm

Ok, i think find the bug

In this tow capx, i have created a directory into Sound and put ogg in it, for the test_sound_r185.capx

And with not with the test_sound_r186-2.capx.


All sounds added into sound without directory on it works perfectly.
You do not have the required permissions to view the files attached to this post.
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Post » Fri Oct 31, 2014 5:43 pm

and something else weird

if you look at the file "New project.uistate.xml"

for r185 you have :

Code: Select all
    <folders-expanded>
        <folder expanded="1" path="object-folder/" />
        <folder expanded="1" path="layout-folder/" />
        <folder expanded="1" path="event-folder/" />
        <folder expanded="1" path="file-folder/" />
        <folder expanded="0" path="file-folder/Icons/" />
    </folders-expanded>


and for r186/186.2 you have :

Code: Select all
    <folders-expanded>
        <folder expanded="1" path="object-folder/" />
        <folder expanded="1" path="layout-folder/" />
        <folder expanded="1" path="event-folder/" />
        <folder expanded="1" path="file-folder/" />
        <folder expanded="1" path="sound-folder/" />
        <folder expanded="1" path="music-folder/" />
        <folder expanded="0" path="file-folder/Icons/" />
    </folders-expanded>


I do not know if this is related
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Post » Fri Oct 31, 2014 6:02 pm

If you delete the .uistate.xml file and try to reopen, does it work?
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031

Post » Fri Oct 31, 2014 7:20 pm

same error without .uistate.xml
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Post » Fri Oct 31, 2014 7:29 pm

but , i see something else

With the CAPROJ file :

r185 :
Code: Select all
    <sounds-folder>
        <file-folder name="Player">
            <file name="bom01.ogg" />
            <file name="shot01.ogg" />
            <file name="jump01.ogg" />
        </file-folder>
    </sounds-folder>


r186 / 186.2 :
Code: Select all
    <sounds-folder>
        <sound-folder name="Player">
            <file name="bom01.ogg" />
            <file name="jump01.ogg" />
            <file name="shot01.ogg" />
        </sound-folder>
    </sounds-folder>


you use "file-folder" under r186
and now "sound-folder" with r186+ and Perhaps it's the same for music-folder

Not the same ^^
If i put "sound-folder" on my game , now C2 load it correctly
B
38
S
13
G
4
Posts: 152
Reputation: 5,147

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests