No Texture field in the Inspector
realroot2185 opened this issue · 7 comments
https://fyrox-book.github.io/tutorials/platformer/editor_step2.png
I do not have the Texture
field.
I see this error:
[ERROR]: Failed to create GPU texture from Embedded texture. Reason: InvalidTextureData { expected_data_size: 7531544, actual_data_size: 0 }
System:
Kernel: 6.7.5-artix1-1
arch: x86_64
Distro: Artix Linux
That's because this tutorial is a bit outdated. Use Material
field instead and assign diffuseTexture
property in it.
If I click diffuseTexture
nothing happens.
Right click triggers Show in Asset Browser
and nothing happens if I click that.
Drag a texture from the Asset Browser on diffuseTexture field and it will be assigned.
When I drag it it displays the image far from the pointer.
Should I open an issue about that?
That's intended behaviour.
So happy I searched issues first, this has been driving me crazy but I can finally continue on with the tutorial!
I'm planning to release 0.34 soon (maybe in a week or so) and I'll also update the tutorials (and the book in general) for it. Sorry for the inconvenience.