Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Rabagast on November 21, 2016, 07:35:46 AM

Title: The game window suddenly turns off
Post by: Rabagast on November 21, 2016, 07:35:46 AM
Hi!

I have asked in the Unity forum, but didn't get any answer. Now I'm really pissed off of Unity and some bugs which drive me crazy. Specially when the game window turns off, most of the time when I play the game.

Watch at the video and see for your self. I use 3 screens.
Does anybody else have this problem? Is it a bug or is it a way to solve this?

https://www.youtube.com/watch?v=bGtalMxV22o (https://www.youtube.com/watch?v=bGtalMxV22o)
Title: Re: The game window suddenly turns off
Post by: jeanfabre on November 25, 2016, 01:45:00 AM
Hi,

 looks like a graphic card issue that can't handled indeed 3 screens. have you try with one screen and does it still do it? if no then try with 2, and then switch monitors.

Do you get any errors in the Unity log?

 Bye,

 Jean
Title: Re: The game window suddenly turns off
Post by: Rabagast on November 28, 2016, 03:31:42 AM
Hi, Jean!

I tried the game window on all screen, but I didn't disconnected the other two screens. Of course I can do this, but first of all, this problem came with one of the latest updates. I don't remember which one. Maybe two or three updates ago.

I have never experience this before since I started with Unity. And I also use Mac which has support for three screens, so it can't be the graphic card. It needs to be a bug in Unity. It's enough with other bugs already.

I get an error in the Unity log when I close the game window and open it again. I don't remember the error now, since I didn't get any error today yet, but I will tell you the error when I get it.
Title: Re: The game window suddenly turns off
Post by: 600 on November 28, 2016, 06:44:41 AM
Hi, I am working on a mac too, on two screens and with the new Unity (5.4.3) there are Game window glitches for me too, 2d stuff like UI and sprites go invisible at times, but not at the build. So it is a Unity bug and must be reported to Unity, I believe Playmaker can’t do much in this case.
Title: Re: The game window suddenly turns off
Post by: Rabagast on November 28, 2016, 07:03:22 AM
I know. I was just asking if more experience the same problems.  :) UI go invisible for me also sometimes, but when I run the game it go visible again.

Should I send an e-mail straight to Unity or in the forum?
Title: Re: The game window suddenly turns off
Post by: 600 on November 28, 2016, 07:30:26 AM
Can be done from Unity > Help > Report a bug
Title: Re: The game window suddenly turns off
Post by: Rabagast on November 28, 2016, 07:41:05 AM
Ok. I can do that also, but I sent an email. With a link to the video so they can see the problem. :)

Quote
Do you get any errors in the Unity log?
I get this error in the Console after I close the game window.

RenderTexture warning: Destroying active render texture. Switching to main context.
Title: Re: The game window suddenly turns off
Post by: jeanfabre on November 29, 2016, 10:24:27 AM
Hi,

 uhm, and are you playing with rendertoTexture yourself? or is it an asset from the asset store?

Bye,

 Jean
Title: Re: The game window suddenly turns off
Post by: Rabagast on November 30, 2016, 02:00:28 AM
No! I use some Assets like Easy Save and Energy Bar Tool Kit, but I don't think these cause the problem.

The error message appear always after I close the game window after it turns off.

I sent an e-mail to Unity about this, because I'm sure this is a bug. It has to be that.

Can you imagine a big game company have this problem? They need to work effective. And suddenly,  the game window turns off. You need to close the window and open it again. And then it happens again and again, and again, and again, and so on. Time is money. And you lose time when this happen so often.

I have never experienced this before I installed Unity 5.4.0. I don't remember if I got this problem on the update before 5.4.0. But it's so frustrating every time it turns off.
Title: Re: The game window suddenly turns off
Post by: jeanfabre on December 01, 2016, 02:52:31 AM
Hi,

 Possibly energy toolbar kit. I would contact the author of that kit too, maybe he has a clue. Ask him if his kit uses RendertoTexture.

Bye,

 Jean
Title: Re: The game window suddenly turns off
Post by: wetcircuit on December 01, 2016, 02:08:29 PM
This was a bug in the earlier releases of Unity 5.4. Turned my game window black after about 3-6 min…. I haven't seen it since updating to the most recent 5.4 release.
Title: Re: The game window suddenly turns off
Post by: Rabagast on December 01, 2016, 05:36:08 PM
Possibly energy toolbar kit. I would contact the author of that kit too, maybe he has a clue. Ask him if his kit uses RendertoTexture.

I tried with a brand new project. The only Asset I installed was the standard Unity Asset with the build in controller. And Pro Builder 2 and Pro Grid 2. Can it be one of these two last Assets?

This was a bug in the earlier releases of Unity 5.4. Turned my game window black after about 3-6 min…. I haven't seen it since updating to the most recent 5.4 release.

In my case, the screen turns grey and it happens randomly. And most of the time when I run the game.
Title: Re: The game window suddenly turns off
Post by: jeanfabre on December 02, 2016, 01:57:13 AM
Hi,

 yes, very likely too. It's indeed tricky to find out who's responsible, but make a copy and remove assets until it works... we've all gone through that...

Bye

 Jean
Title: Re: The game window suddenly turns off
Post by: Rabagast on December 02, 2016, 02:22:31 AM
I don't think it can be Probuilder or Pro Grid 2 either, because on my 2D platformer I don't have these two Assets, but it can be other Assets also that cause this problem.

I created a brand new project now with no other Assets. Not even Standard Assets. Only Playmaker. Just created a player with a movement, just to see if I get the same problem. :)