- Home /
Help with bug in the game
I'm having a problem when I leave my executable game, he gets a pink lines, the editor is more normal when I give it gets buggy build, can someone help me fix this?
I'm having a bit of a difficult time understanding, but I can tell you that those purple lines mean that the game is looking for a texture and can't find it. The reference is intact in your editor, so it looks fine, but when you build the standalone player, it loses the reference to the texture.
Answer by winsjansen · Apr 07, 2015 at 03:07 PM
I think I might know why you get this problem, and as Lman already stated it probably is the game having problems with texturing.
I suggest you make sure you have your game set to be able to run in background mode, if not then you need to enable this feature if you ever want the game to keep running when you are not focusing on the application. Failing to do this might cause issues upon reloading the game when you are re focusing the application.
To eneable or disable this feature, go to menu: Edit > Project Settings > Player, and you should find "Run In Background*" under Resolution.
Not worked :( has another solution?, if you do not think and the same script.
Answer by landon912 · Apr 07, 2015 at 10:02 PM
This looks like the texture is not being included in the build. This may be because you're using Resources.Load() with a target path not in a folder under or in a folder named "Resources". Otherwise, double check your references.
Your answer
![](https://koobas.hobune.stream/wayback/20220613192345im_/https://answers.unity.com/themes/thub/images/avi.jpg)