Hey, okay maybe I have to clarify it more:
When Visual Studio is open and I use ctrl + F5 to start my game, everything's working fine. There are no differents between debug and release. Both working fine.
But when I start the game directly from my folder, where the compiled exe is, the game got a runtime error at on specific point (it's when a player is game over and the game state switch to the game over screen).
I use the assets with the following style:
texture.loadFromFile("Assets\\anotherAssetFolder\\tex.png")
My Folder looks like this:
Assets [folder]
Game [folder]
Debug [folder]
- Assets [folder]
- game.exe
- all relevant sfml dll's
Release [folder]
- the same as in debug folder
game.sln [project]
I dont think that the Asset folder is the problem, because I would get loading errors in my visual studio too.
and why only at the game over screen. Everything else before starts correctly.
Thanks for your help
Bytemare