Error running Scroller example on Windows using Level Director X 1.01

Wow! I am excited about the news of the new Level Director X! I noticed that you removed the object count limits. That’s great! Honestly, I hadn’t played much with the previous version but I wanted to give this new version a try (on Windows). Sadly, I ran into an error on the first game I tried to run. :frowning:

I exported the Scroller example and attempted to run it but hit the following error immediately. Hopefully this is just a problem on my end. Perhaps I am not understanding something properly.

09:01:26.670  Copyright © 2009-2016  C o r o n a   L a b s   I n c .

09:01:26.670   Version: 3.0.0

09:01:26.670   Build: 2016.2838

09:01:26.670  Platform: iPhone / x64 / 6.1 / Intel® HD Graphics 4600 / 4.3.0 - Build 10.18.14.4280 / 2016.2838 / en_US | US | en_US | en

09:01:26.670  Loading project from:   C:\Users\usernamex\Documents\Level Director X\examples\Scroller

09:01:26.670  Project sandbox folder: C:\Users\usernamex\AppData\Local\Corona Labs\Corona Simulator\Sandbox\scroller-87323EF2F89B16AF653C999520F7FDFC\Documents

09:01:26.680  ERROR: Runtime error

09:01:26.680  C:\Users\usernamex\Documents\Level Director X\examples\Scroller\lib\LD_LoaderX.lua:65: attempt to index a boolean value

09:01:26.680  stack traceback:

09:01:26.680   C:\Users\usernamex\Documents\Level Director X\examples\Scroller\lib\LD_LoaderX.lua:65: in function ‘loadLevel’

09:01:26.680   C:\Users\usernamex\Documents\Level Director X\examples\Scroller\main.lua:176: in main chunk

After posting this message, I opened the unmodified “Assets” example in my Corona simulator and it worked fine. I then opened the project in Level Director, exported it, and got the same error as above. There seems to be a problem with the export feature or I am misunderstanding how to use it. 

I believe you already have this working but for others users who read this thread the fix is to click on the project header and then select the export template as ‘Corona_TemplateX’ and exporting should resolve the errors.  I added the ‘X’ last minute to the template name but it didn’t seem to make the build.

After posting this message, I opened the unmodified “Assets” example in my Corona simulator and it worked fine. I then opened the project in Level Director, exported it, and got the same error as above. There seems to be a problem with the export feature or I am misunderstanding how to use it. 

I believe you already have this working but for others users who read this thread the fix is to click on the project header and then select the export template as ‘Corona_TemplateX’ and exporting should resolve the errors.  I added the ‘X’ last minute to the template name but it didn’t seem to make the build.