Problems with exporting

Discussion and feedback on Construct 2

Post » Tue Mar 19, 2013 11:42 am

Hi,

When I export my project as HTML/Appmobi/CocoonJS I got the following error;

Uncaught TypeError: Cannot read property 'type' of null

The line is;

inst = created_instances;
     if (!inst.type.is_contained)   <--- LINE
     continue;

I use the release r119.
The preview mode displays the project, the export displays only a black screen.

Is there anybody that have the same issue and can tell me what the solution is?
B
6
Posts: 7
Reputation: 871

Post » Tue Mar 19, 2013 3:12 pm

Can you share your .capx?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Tue Mar 19, 2013 8:28 pm

Hi,

Can I mail/pm you the link?
B
6
Posts: 7
Reputation: 871

Post » Tue Mar 19, 2013 10:38 pm

It's difficult to help with large projects. It's easier if you can reproduce the problem in a new, empty project, which you'd also be willing to share.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Wed Mar 20, 2013 8:08 pm

I've found the problem. When I set Use loader layout to no the export is working. Is this because I don't have a loader layout?
B
6
Posts: 7
Reputation: 871


Return to Construct 2 General

Who is online

Users browsing this forum: Mirlas, wrighthill and 15 guests