Game where scene changes blinkk8/2/2023 ![]() If I leave it activated it still flickers. Deactivating the UI canvas doesn't change anything. I originally had the scripts attached to the canvas, but I moved them to the empty game object, it did not fix the flickering.Īs far as deactivating the UI canvas, it was just something I was trying to test with. Scenes 2, 3 and 4 contain an empty game object that have Switch script, which just sends it back to scene 1 with the buttons. That sends it to one of the other scenes depending on what button is pressed. The scene with all the buttons (scene 1) has the ToNextScene script. The only way to get to another scene is a button.Įach scene has an empty game object that contains 1 script. If I can find and fix the problem here I can probably fix my other project.Įach scene is separate, I don't have a scene within another. My other project is way more complex and does the same thing. This is a very simple and completely separate project and has nothing to do with any other projects. I only have the 2 scripts as this is just a test project to figure out what is causing the flickering. This script switches to either scene 2, 3, or 4 depending on what button is pressed. This video is recorder with Bandicam in HD 60fps and picks up everything that happens, most of it you can't see in real time. Seems to be an entire scene issue as the default Unity background (skybox) changes also. I darkened the buttons when hovering over them with a cursor to highlight the flickering. I used Bandicam to record this video and I could not believe all the flickering that happens when it is slowed down frame by frame. I came up with the idea to record it to see if I could get a more detailed view. I'm also turning off the UI after pressing the button, the flicker still happens I have no idea if this is UI related or an entire scene issue. I have no idea when this started, but it looks bad on my other project, not as bad as this one. I thought it might be from the TextMeshPro buttons I was using, so I removed them, these buttons are just regular buttons, but it still does it. I first noticed it on another project I am working on, so I thought I would create a basic project like this to see if I could duplicate the issue and I did. Have been working on this for over a week now, spent hours trying to pinpoint the problem. ![]() ![]() Searching online and forums have yielded no results yet. If I change scenes with SceneManager.LoadScene it still has the same effect. I am using a coroutine with SceneManager.LoadSceneAsync to change scenes. None of my scripts in this project contain an Awake, Start or Update function. When I press a button to change scenes it bounces from the previous scene to the next scene several times, then goes to the next scene. Working with the latest version of Unity 2019.4.9f1, I am getting a flicker from the entire scene. I also completely uninstalled Unity and Unity Hub and reinstalled them and the problem still exists. I recorded a video of the editor and it effects the editor also. The rest of the video is me dragging the timeline so I can slow down the video frame by frame, this is where you can see all the flickering going on, this a is a game build x86_64. The first part of the video is shot in real time. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |