plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

RomanDesign avatar image
RomanDesign asked FlyingRaccoon commented

Problem with build and export in Scenery Editor - how to debug and verify the build?

I'm opening an airport project that has worked perfectly fine back in December in Scenery Manager. I edited some terrain (no new or changed models) and I'm trying to build a package with a new "Build & Export" option. However I don't get a zip file in the Export project, and while some package files are created, there are no more successful build confirmation in the console. I can't even find if there were errors on my part. Even if I do "Clean All" All I see is this:

PackageBuildLog_G AddKey wrong key :PREPARE
PackageBuilder | Done, 7 asset groups registered.
PackageBuilder | Failed to find asset group for file D:\MSFS Projects\CNC3\MARKETPLACE\EXPORT.ZIP
PackageBuilder | Partial build : nothing to do

Among thousans of lines of unrelated code in the console. Many lines, especially in beginning, are also completely screwed up with the beginning words truncated, so I can't be sure I'm not missing anything. How can I know that the build is correct and complete, and why is ZIP not created in the Export folder? I can't update all 3 of my projects because of this. Advice appreciated.

I have the latest 0.14.0 SDK and latest hotfix on MSFS.

I'm attaching the log file.log.txt

scenerydefaultdevmode
log.txt (662.0 KiB)
3 comments
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello Roman
Several issues here.
- Have you switched the console group to "Builder" to remove all unrelated loading messages? (see image)
- The partial builder error is caused by your export being done in your project folder. The package builder system detects a new resource has been created and tries to identify its asset group type. This shouldn't be a problem preventing you from building and exporting the package.
- Can you clean your console and just build your package with the builder group selected and tell us what your log is now containing?

1627915668278.png

Regards,
Sylvain

1 Like 1 ·
1627915668278.png (468.7 KiB)
RomanDesign avatar image RomanDesign FlyingRaccoon ♦♦ ·

I did exactly as you told me, plus I selected a different export folder that is outside of the main project folder. I selected BUILDER group and cleared the console. Still in the console, in the builder group I get many unrelated message, and most of them are truncated so it's hard to make sense out of 887 lines of mostly truncated text. This form is not big enough to includ, so I will attach a text file with the log.

This is the first "build and export", after "clean all" with Builder group selected:

log.txt

This is the second time I try the export - this time the log doesn't make sense at all: lines are truncated and nothing seems to be related to the build itself - can it be that it got truncated with the rest?

log-2nd-build.txt

Export.zip gets generated in the Marketplace folder under the location I selected for export. But I have no idea if it's a proper build, and if the build was successfull. What are the messages about Asobo B787 and liveries doing in the Build group? I'm not using anything like that in the project, just a few generic Asobo GA planes.

0 Likes 0 ·
log.txt (74.4 KiB)
log-2nd-build.txt (4.1 KiB)
You shouldn't have those community packages message in the console when the build group is selected.

It's also surprising that the console is not giving any information about any build step or your CNC3 package (the one you're building and exporting, right?)

I guess that's a consequence of the message queue corruption.
I'm still trying to repro this, I had it a few times but it's tricky to fix without a reliable reproduction procedure.

0 Likes 0 ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.