Preview not working (Red Progress Bar)

Bugs will be moved here once resolved.

Post » Fri Nov 06, 2015 4:25 am

Problem Description

More than two years I develop a fairly large project using construct 2. At the moment, the number of objects exceeded 5,000 sprites (animation frames). Because of this, no longer run previews.

Launching preview in Chrome, NV, iE, FF - a red loading bar that does not load the project to the end.
If you export the project, it will run fine (since. Animation frames packed in texture atlas)

Attach a Capx
https://drive.google.com/file/d/0B44ekA ... NsZUE/view

Description of Capx
Capx shows that preview doesn't run with 12 objects(10animations with 50 frames - 6000 sprites)

Steps to Reproduce Bug
  • Run Capx
  • Start preview (Red progress bar)
  • Delete 2-3 objects
  • Start preview (Blue progress bar)

Observed Result
6000 objects - preview doesn't work
Less then 5000 objects - preview work correctly

Expected Result
I want to use construct 2 not only for small projects. I have many characters, monsters, weapons with a lot of smooth animations in the game and I want to use preview in development process... Without object count limit for it...

Affected Browsers
  • Chrome: (YES/NO)
  • FireFox: (YES/NO)
  • Internet Explorer: (YES/NO)
  • NW: (YES/NO)

Operating System and Service Pack
Windows 7 64, Windows 7 32

Construct 2 Version ID
r216
Image
B
27
S
10
G
3
Posts: 111
Reputation: 4,948

Post » Thu Nov 12, 2015 12:58 pm

Sorry, there is nothing we can do about this. The Windows OS itself has a limit of 10,000 graphics objects per process, and the editor needs at least one icon per object not including everything else a typical Windows app needs, which is probably pushing you over the limit. Addressing this would require fundamentally rearchitecting the editor. This work is being done for C3, but it is too late for C2. I am shocked that anyone would ever run in to this limit anyway, since that is a truly extraordinary number of images to be using. All you can do is try to reduce the number of images used, or one other workaround is to export your project every time you want to test it, which applies spritesheeting and reduces the number of images.
Scirra Founder
B
398
S
236
G
88
Posts: 24,442
Reputation: 194,683

Post » Wed Apr 13, 2016 6:38 pm

Ashley wrote:Sorry, there is nothing we can do about this. The Windows OS itself has a limit of 10,000 graphics objects per process, and the editor needs at least one icon per object not including everything else a typical Windows app needs, which is probably pushing you over the limit. Addressing this would require fundamentally rearchitecting the editor. This work is being done for C3, but it is too late for C2. I am shocked that anyone would ever run in to this limit anyway, since that is a truly extraordinary number of images to be using. All you can do is try to reduce the number of images used, or one other workaround is to export your project every time you want to test it, which applies spritesheeting and reduces the number of images.


@Ashley

Hmm... In Windows 10, when I run preview on Chrome - It still not working like in Windows 7: 90% of loading and "stop".

But: preview working in Microsoft Edge... 5000 objects, 6000, 8000 - I don't know how, but it works :idea:
Image
B
27
S
10
G
3
Posts: 111
Reputation: 4,948


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests