C2 creates www folder on Run Layout. Endlessly.

  • Problem Description

    After you have exported with Cordova, Construct2 creates more www folder in the existing www folder on every "Run Layout".

    Attach a Capx

    Happens with all projects exported with Cordova.

    Description of Capx

    -

    Steps to Reproduce Bug

    • Open or Create a project and hit Run Layout to open it in any browser
    • Export the project as Cordova
    • Don't close Construct2 but close the the Browser where the project run => !IMPORTANT!
    • Run Layout again and look in the Cordova export www folder.

    Observed Result

    On every Run Layout it creates a new www folder (sometimes more) in the existing www folder in the exported Cordova folder.

    Expected Result

    Don't create a www folder in a www folder in a www folder etc. Endlessly!

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: YES Operating System and Service Pack Windows 10 / Latest Service Pack Construct 2 Version ID Construct 2 - 236 (64Bit)
  • Ha, that is a silly bug. I could reproduce, and found it's accidentally running some export code in preview mode which created the folder when you preview. Should be fixed in the next build, thanks for the report.

  • No problem... thanks for the fix.

  • Hello guys, I am having the opposite problem, my C2 v227 does not generate "www" and some other folders, so I cannot compile my project. Would you help me?

    Tks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • brunodmn - update to the latest version of Construct 2. r227 is over a year old now.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)