holschuh Posted November 14, 2015 Share Posted November 14, 2015 Hi, Failed to load texture "C:/Users/.../Leadwerks/Projects/pumpkinkick/Directional Light" Failed to load texture "C:/Users/.../Leadwerks/Projects/pumpkinkick/Materials/Effects/default.tex" how can i prevent running into this error after some work on my projects... they still compile and work but it looks not clean... cu Volker Holschuh 1 Link to comment Share on other sites More sharing options...
thehankinator Posted November 14, 2015 Share Posted November 14, 2015 I have this same problem with the beta. It's annoying because it switches the Output tab to Errors tab so every single time I launch my game I have to switch it back to see any debugging messages. Link to comment Share on other sites More sharing options...
g1.smokescreen Posted November 16, 2015 Share Posted November 16, 2015 Similar issues here... Even some "EXCEPTION_ACCESS_VIOLATION" errors once in a while (on fresh blank projects). In my case, I've nailed it down to the "Create Camera" feature in the Leadwerks Editor. Ever since I've been manually creating the camera with code, it has been smooth sailing... (It seems to be a workaround for that pesky "Failed to load texture" error) Link to comment Share on other sites More sharing options...
reepblue Posted November 16, 2015 Share Posted November 16, 2015 Might have to do with the "Render To Target" option that was introduced in 3.6. Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
thehankinator Posted November 16, 2015 Share Posted November 16, 2015 I've had this issue since 3.6 although the steps taken below were done with the beta. To reproduce this bug I did the following: 1) Create new map 2) Add camera 3) Click run button Error log output Failed to load texture "C:/Users/TH/Documents/Leadwerks/Projects/THHP/Directional Light" Map file https://drive.google.com/file/d/0B8AlYY49_v2bZ0Mwa05RTzZrUDQ/view?usp=sharing Link to comment Share on other sites More sharing options...
thehankinator Posted January 6, 2016 Share Posted January 6, 2016 Was this bug reproducible using the steps I gave? Any chance this will get fixed? I use System:Print() a lot when I am debugging a problem or implementing something new, it's annoying to have to switch tabs every time I run the game. Even worse if the mouse position is being reset constantly like in FPSPlayer.lua. 1 Link to comment Share on other sites More sharing options...
reepblue Posted January 6, 2016 Share Posted January 6, 2016 Yes, again, it might have to do with the "Render To Target" feature that was added in 3.6. My theory is that since there is no texture to render to, it looks for something random, then complains that it can't load it. I sometimes see that it can't load "Box 1". Make camera's via script I guess. Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
thehankinator Posted January 6, 2016 Share Posted January 6, 2016 Yes, again, it might have to do with the "Render To Target" feature that was added in 3.6. My theory is that since there is no texture to render to, it looks for something random, then complains that it can't load it. I sometimes see that it can't load "Box 1". Make camera's via script I guess. Are you saying this isn't a bug? It sure seems like one to me. The 3 steps (listed above) it takes to produce the erroneous message do not touch the "Render target" option on the camera. Link to comment Share on other sites More sharing options...
reepblue Posted January 7, 2016 Share Posted January 7, 2016 It is a bug. If you make a camera via editor, you'll have this error pop up. If you make it in lua script, you'll have no error. It's something on the editor side I think. Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
josk Posted January 7, 2016 Share Posted January 7, 2016 I get this too, I was scratching my head thinking What Texture. Elite Cobra Squad Link to comment Share on other sites More sharing options...
Josh Posted January 19, 2016 Share Posted January 19, 2016 I found the cause of this and the fix will be in the next update. Thank you. 4 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts