1.10.4 Project encounters build errors after using Chinese fonts

1.10.4 Project encounters build errors after using Chinese fonts

WARNING:RESOURCE: Unable to create resource: /assets/kongminhaiouti.fontc: FORMAT_ERROR
WARNING:RESOURCE: Unable to create resource: /main/ui.guic: FORMAT_ERROR
WARNING:RESOURCE: Unable to create resource: /_generated_d8d247b2.goc: FORMAT_ERROR
ERROR:GAMEOBJECT: Could not instantiate game object from prototype /_generated_d8d247b2.goc.
WARNING:RESOURCE: Unable to create resource: /main/main.collectionc: FORMAT_ERROR

I sincerely apologize that I might be unable to accurately pinpoint the source code location where the BUG originates.

If possible, please provide a small repro poroject we can test with.

http://t0r11cz31.hn-bkt.clouddn.com/a.zip

I couldn’t unzip that file, as it seems corrupt.

I tested the downloaded file and it can be extracted.

Your test project works fine for me

Try to remove build folder

1 Like

After closing the project, it won’t build when reopened, and deleting the build folder didn’t help.

Are you sure you are opening it in the same Defold version?
Because I tried many times, and your example project just works.


win11

But that is running 1.10.3 ?

1 Like

1.10.3 yes 1.10.4 no

Your screenshot shows you running 1.10.3, and that doesn’t work.
What if you try running it in 1.10.4?

Note that projects aren’t backwards compatible.
If we make format changes in a version, and you save that project, you cannot open it in a previous editor.

you are running project from 1.10.4 editor

on 1.10.3 target

The target version should be equal to the editor version.

… I’m using version 1.10.4 of the editor and downloaded the 1.10.4 engine, so why does it start as version 1.10.3?

What do you mean you downloaded the editor and the engine?

What does the “Help → About” page say in your editor?

I deleted the C:\Users\(your_username)\AppData\Local\Defold\ directory – everything now seems consistent and working fine. This was indeed an issue caused by version conflict.

2 Likes