Sprite wont appear on blank project [Solved]

Hello!
I’m learning Defold and I’m very exited to have something moving! However I don’t understand why my sprite is not appearing on the main.collection. I did make an Atlas and I can play my animations there. But once I create a Sprite and set the image property to the atlas, the sprite size is updated but nothing appears on the editor. I suspect it has to do with the default image shader’s because when I try to run the game i get the following errors:

/builtins/materials/sprite.fp
	_generated_b7e08114.fpc:
/builtins/materials/sprite.vp
	_generated_7e90358b.vpc:

Notice that the error has : but no message appear! is very weird!
I’m on OSX 11.7.8
I’m probably missing something and I’m sorry in advance!

I just tried the demos and they are not running either, several of the assets print very similar errors… so is definitively something with my computer!
I have no clue on how to fix this!

Maybe there is a video driver update available? That seems to mostly fix these kinds of errors.

Thanks for answering! I’ll be updating my OSX to 11.7.10! hopefully this fixes it!

1 Like

Hopefully it works. Let’s us know the outcome :grin:

Unfortunatelly updating my osx did not fix the issue :frowning:
If anyone has any insight into this issue I will greatly appreciate it!

What if you do Project->Build HTML5? Does it work in your browser?

Thanks! I gave it a try and got this list:


is there a way to get a more detail log? perhaps I can get a better error message somewhere!

It looks like there is an issue with all of the shaders… Are you using the latest version of Defold? I wonder if it’s an issue with the shader compilation on OSX 11.x. Ping @jhonny.goransson ?

Hm maybe it’s related to an issue @AGulev fixed with the old tools for older Mac’s, but I don’t know exactly what the issue was :thinking: if there’s no output I think that perhaps the tool cannot be run

Yes, I’m thinking which minimum OSX version are they designed for?

Oh! that could explain the issue. I’m using OSX 11.7.10 (just updated yesterday from 11.7.8).
I’m using Defold 1.9.2.

Can you try 1.9.0?

It works! Thanks! I think I’ll stick to 1.9.0 then!
If you ever need me to try builds to fix the issue just hit me!

1 Like

Could you please report this as a bug on GitHub so that we can investigate it and hopefully figure out how to run the tools on older OSX versions.

2 Likes

Done! Thanks for helping and I hope you can figure this out!

2 Likes