Raylib texture loading issue
See original GitHub issue piecesTexture = Raylib.LoadTexture(UIHelper.GetResourcePath("Pieces.png"));
this line in BoardUI ( line 56 ) doesn’t load the texture for me.
A check like this
Console.WriteLine("Piece.png loading..."); while (!Raylib.IsTextureReady(piecesTexture)){}
seems like just wont stop ever.
I have amd rx550.
I tried methods like : Raylib.LoadImageFromMemory();
and then use the image, but i couldn’t load an image either, the image height always remained 0.
Anyone else had problem with this?
Issue Analytics
- State:
- Created 2 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Problem With Loading Textures : r/raylib
The code, unmodified, works for me (with my own image named to match yours) so I'm guessing either the path to the image...
Read more >Loading textures not working. · Issue #2249 · raysan5/raylib
I am using raylib with C++11 and when I am loading a texture it is not working. Here is my C++ file: #include...
Read more >textures to_image
raylib [textures] example - Retrieve image data from texture: LoadImageFromTexture() * * NOTE: Images are loaded in CPU memory (RAM); textures are loaded...
Read more >Raylib Tutorial | Episode 3 | Drawing textures and animating
In this episode we learn the difference between a texture and an image in raylib. We learn how to draw and even animate...
Read more >Using raylib for a game project
I'm having a problem with drawing my game map in Raylib. ... Texturas/mage (1).png"); Texture2D fairy = LoadTexture(".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve added a patch that seems to fix this, so closing for now. Note however that font (or possibly shader/both) is still not loading correctly for non-ascii path so I will continue to look into it.
This issue seems to occur when the path to the project contains letters with diacritics. Would you mind posting the path to your project or confirming if it has any non-ascii characters? Currently looking into a solution