Hi, I can't figure out why switching scenes works sometimes and others it doesn't? I'm having this issue with only one of my scenes.
I'm not very good at describing things so here's a video of my issue imgur.com/a/eYusCDb
I remade the scene with the issue from scratch, but the remake has the same issue. I think it might have something to do with the videos I'm using, but I'm not sure how to fix it. It's not the only scene with videos in it and the others work fine (or at the very least I haven't run into the same issue yet). The hotspots still work, and I forgot to include it in the video, but I'm able to switch scenes from it too.
When I pause the game in the broken scene I can't unpause it.
A thank you in advance!!!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @cyberrockerboy.
It looks like a scene-change does happen - but it's not reflected in the Game window.
The active scene is listed at the top of the Hierarchy window - in the video, it changes from "hallway 2 wall 2 - room 2" to "hallway 3 wall 1 - room 2" when the error occurs. Is the latter the intended scene?
The issue looks like its a rendering problem, where there's no camera to update what's going on on-screen. Does the scene have a regular AC MainCamera, and what videos are you referring to? Might these be interfering with the rendering of the scene? Any details/screenshots you can share about the way this scene is set up will help understand the situation.
Thanks for the help,
Yes the later is the intended scene. It does have a AC MainCamera, and the videos I'm talking about weren't currently playing in 'hallway 3 wall 1 - room 2' in the video, but I noticed the issue happens when I go from 'hallway 2 wall 3 - room 2' which does have a video playing then 'hallway 3 wall 1 - room 3 doesn't work.
Sorry, as I was testing things to answer your question, the same issue also happened when I switched to 'hallway 3 wall 1 - room 2' to 'hallway 2 wall 3 - room 2'. Both 'hallway 3 wall 1 - room 2' and 'hallway 2 wall 3 - room 2' have videos while the scenes in between them do not. Both scenes are set up the same.
imgur.com/a/FCyWKHT
It does look like a case of nothing being rendered in the new scene.
Expand the Hierarchy at the time of the issue - is anything amiss in the scene's list of objects?
In particular, check the state of the MainCamera at this time. Is its Camera component enabled, and is it attached to any AC GameCamera? If not, does moving the MainCamera object update the position of the background in the Game window?