- Home /
Bugs in built versions
First of all: when i start the game from unity editor - everything works perfectly. When i build for windows ( both x86 and x64, both release and debug versions ) a color bug appears. The 'spiral' around everything should be black ( and is in editor ), but it is gray. The 'walls' must be a bit lighter than background color, but they have same gray color :S When i built for Android - another weird bug appeared. When i launch the game, splash screen is visible for 0.0001sec and then instantly disappears. And the game doesn't start as it should. Instead i can see only background and that's all. But when i minimize and then maximize - everything works fine :S //------------------------------------------------------ I'm using GL for everything. This should be important thing to mention, i think.
void OnPostRender() {
GL.PushMatrix ();
GL.LoadPixelMatrix ();
GL.Viewport (new Rect (0.0f, 0.0f, Screen.width, Screen.height));
GL.Begin(GL.TRIANGLES);
GL.Color(/*some color here*/);
// some vertex3 here
GL.End();
GL.PopMatrix ();
}