Road Kill Kenny Posted April 27, 2012 Share Posted April 27, 2012 Having a rather odd issue here. Loading textures seems to be failing even though they are located in the correct location. Here is the output of the console for the failed load: Here is the file path being shown below: C:UsersPublicScarlet Thread Games01 Game ProjectsHome WarsHome WarsAssetsMenuBackgrounds As you can see, it is searching for the files in the correct location and the images are indeed there but they fail to load. I have loaded these before in a different project so I know that the file is fine. Anyone have any idea why? Anyone had a similar issue before? Please don't tell me that I've set my abstract path wrong because I haven't. The output in the console shows that its looking in the correct spot. Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Road Kill Kenny Posted April 27, 2012 Author Share Posted April 27, 2012 Ok I fixed it. I think my problem was loading a texture before the graphics window was created or something like that. I'm not really sure but I just reverted to putting all my Initializing code etc. close together again and it worked. Phew... Quote STS - Scarlet Thread Studios AKA: Engineer Ken Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.