• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Texture failed to convert [SOLVED]

Messages
22
Country
southafrica
I have a little mystery that I just cannot solve.

I have two buildings in Blender. I designed these buildings for FSX using FSDS, but I convert the MDL's to Collada files using Model Converter so that I can import them into Blender. This has so far worked flawlessly for several hundred objects. I have saved the building into GLTF format, again no issues, but when I compile the airport for MSFS using ADE or the Package Tool, then only this building refuses to compile. All the others work and they where all done in exactly the same way.

The error I get is this: FAILED TO CONVERT TEXTURE: path/filename.png

The Package Tool then fails to complete the build process. The funny thing is that the light map texture for the same building works. It is just the day texture that has issues.

If I remove the building, then the airport compiles without issues.

I am obviously missing something somewhere and it is obviously that the issue is with the texture, but I am at a loss! Can anyone point me where to look or try?

Regards,
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
4,687
Country
us-wisconsin
Attach the object and textures as a zip file so someone can see what the problem is...
 
Messages
22
Country
southafrica
I have solved this error and I am now posting the solution for learning purposes.

If you get this error FAILED TO CONVERT TEXTURE: path/filename.png while compiling your airport for MSFS then check the texture(s) you are using. The error should generate at the incorrect texture, but not always and you may need to check all of them!

Your textures MUST be perfectly square and that means 512 xx 512, 1024 x 1024, 2048 x 2048 or 4096 x 4096. Unlike FSX and P3D, there is no middle path. In my case, one of my textures was 1025 x 1025; just ONE pixel off and it kept me running in
the dark and pulling out my last bit of hair for hours! DO NOT MAKE THE SAME MISTAKE, OK?

Have fun!
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
4,687
Country
us-wisconsin
From the SDK:

Textures
When creating your textures, it is important to note that input texture dimensions must be a multiple of 4 pixels and be at least 8 by 8 pixels. Textures do not have to be square, as long as the sides adhere to the multiple of four rule.
...so 512 x 2048 is perfectly acceptable, as is 512 x 516, as is 512 x 512.
 
Messages
13
Country
bahrain
I am having a similar problem. After I fixed the image sizes the textures are still not showing up. I have attached the console screenshot of the error its giving me. Please help coz it doesnt seems to work for me. I have also attached the blender file.
 

Attachments

  • Screenshot 2021-07-17 125601.jpg
    Screenshot 2021-07-17 125601.jpg
    52.4 KB · Views: 29
  • Screenshot 2021-07-17 125841.jpg
    Screenshot 2021-07-17 125841.jpg
    72.4 KB · Views: 27
  • dhlblock.rar
    141.8 KB · Views: 15
Last edited:
Top