Questions tagged [scene]

This tag should be used for questions on the management of scenes (in the game engine) , across any platform. Note that the tag of the platform you are using needs to be added also.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Unity scene preview keyboard controls

I am learning to use Unity, and found I disliked the way moving around the scene editor is implemented. The left and right arrow keys move the scene "camera" left and right as expected, but ...
0
votes
1answer
39 views
1
vote
1answer
29 views

Gizmos not being drawn until GameObject selected

I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and ...
0
votes
2answers
28 views

How to give a certain scene different preference settings then other scenes unity

In my unity game that I am creating there are 4 scenes. 3 of those scenes rely on a backdrop because they are the main menu, death screen and the escape screen(for when you escape the place). ...
2
votes
2answers
60 views

How to organize GameObjects into logical groups in a Unity Scene?

Obviously there are a Scene hierarchy, but the problem is that the scene hierarchy was not meant for organizing GameObjects because parent GameObjects affect the transformation of their children. For ...
1
vote
0answers
61 views

How do I make a doorway going into the next scene?

I new to GDevelop and I use it on a Chromebook. I'm making this game that I'm kind of proud of! I've found a way to teleport players to the next scene, by just putting the condition, then just make ...
0
votes
0answers
23 views

Assistive Machine Learning for Scene Creation

A few years ago, I have seen a talk about assistive ML tools in game development. I think was from Ubisoft La Forge, but could be wrong. In the video it was demonstrated, how an „AI“ understood the ...
0
votes
0answers
77 views

Is Universal Scene Description (USD) suitable for games?

I've been reading about Pixar's Universal Scene Description (USD) system after seeing it in the package list inside Unity. All the material that I've read is within the context of the Film/Vfx ...
0
votes
1answer
36 views

Add Camera Dynamically?

I have a "A1" scene, and from there, I want to create a new scene "A2" on button click and then I want to load the same scene. Creating a scene can be done with, ...
0
votes
1answer
63 views

Why would the same script attached to multiple scenes not work the same way in some of the scenes?

I have 4 scenes in my Unity Project. And in each scene I have identical sliders, what I want to do when Advance_Trial is called via a button press, the sliders' value resets to 0. However, this only ...
0
votes
1answer
127 views

Animate Loading Screen During CPU-Heavy Scene Load

I have a scene with lots of lightweight objects and one that takes anywhere between 10 and 45 seconds to load. At a high level, the Awake method does... Query database For each result do some (fairly ...
0
votes
0answers
60 views

Why my capsule collider sometimes stucks in other colliders?

I'm creating a third person game, and sometimes I face a strange bug that I cannot figure out. Indeed the player may remain stuck in static scene objects, and cannot escape until an angle large enough ...
1
vote
1answer
28 views
2
votes
1answer
791 views

Preload multiple scenes at the same time and activate them on demand in Unity. [Unity, async, simultaneous]

Preload scene in unity - this question tells us about how we can pre-load a scene in Unity and load it on demand. What it doesn't tell us - how do we pre-load multiple scenes at the same time and also ...
0
votes
1answer
61 views

Additive Scene Loading Buttons not Becoming 'Active'

I'm quite new to Unity but I'm making a game, and have created a simple Pause menu, when a key is pressed (escape), I just load a Pause scene, additively, and set that Pause scene to the active scene, ...
1
vote
1answer
93 views

How to prevent Unity3D generates unnecessary changes after saving scene with no actual changes

I was having trouble where Git shows a lot of changes (for my case, about ~3000 diff change since I have many objects in the scene) after saving scene (.unity file) in Unity3D, even though there are ...
0
votes
3answers
619 views

Is it better to create a scene in blender or in unity?

First of all, I am really new to all of this. This is my first time so its really confusing me if it's better to create a scene and then import it into Unity or is it better to just create objects ...
0
votes
2answers
53 views

Switching between world and battle scene with no or minimum loading?

I am making a strategy game where the player roams a grid map. When the player encounter enemy on the map he is transferred to a "battle" scene where two armies are fighting in turn based ...
0
votes
1answer
133 views

GameObject.Find() finds objects in the old scene

I'm trying to create a simple scene transition. On entering a collider, there is a black canvas that's slowly faded in over the duration of 3 seconds. Then, a new scene is loaded, and the scene slowly ...
0
votes
0answers
25 views

Unity Optimization: Creating Multiple Similar Scenes Effectively

I've been working on a mobile game that uses the same framework for each level in the game, and I was wondering what would be the most efficient way to store all those levels in Unity. Should I only ...
0
votes
0answers
30 views

How to deal with data transfer between scenes

What i would like to achieve is to have 1 global 2d map where armies could move (Scene 1). When they collide, trigger loads new scene, setup parameters like army size etc (Scene 2). Once battle is ...
0
votes
0answers
97 views

Scene management system for simple terraria-like game

I am building the engine for a terraria-like 2D sandbox game using SDL2. Currently, I am working on a scene management system. I was wondering if just having a single local variable in main called <...
0
votes
2answers
646 views

How to load additive scenes to the master client, per player, in unity using photon?

I have already successfully created a multiplayer scene where multiple users can join, however there are some issues like unity not allowing multiple sound listeners per scene. In order to alleviate ...
0
votes
1answer
29 views

Response to form triggers creation of zero or more duplicate scenes

I've got two scenes, one with room 1 and one with room 2. In room 1 I've got one table with two 3D assets on top of it. This room also has a door that connects to room 2 through a door but it's ...
0
votes
1answer
67 views

Force Immediate Button Update in Unity

I am working in unity and I have a group of buttons that I activate/deactivate at various times in the game. However, I have noticed that when I call ...
1
vote
0answers
65 views

Is it better to store whole levels in one model file, or maintain smaller reusable models and a custom scene format? [closed]

I've experimented with a few small game engines over the past few years and usually I end up keeping models separate as a .dae or similar file, then designing a scene file format and hand-writing the ...
0
votes
1answer
125 views

How to Bring the Scene View Camera Controls into Game View

I've got a scene with a big sphere in the centre (the Earth) and a lot of smaller spheres around (the stars). Above is a screengrab in Scene View with the camera in the Front View position. I really ...
0
votes
0answers
22 views

How to add scene after build and deployed in Unity?

I want to be able to make new levels after build. I could use a map tool and script but I rather just add scene with all the resource packed with it. But what is the best practice forward?
0
votes
0answers
380 views

Is it normal for the baking timer in Unity to increase?

I'm having an unusual reaction from trying to bake my scene for Occlusion Culling (the scene was starting to lag and I thought this would optimize it) and I wanted to ask for advice. What's happening:...
0
votes
1answer
30 views

How to reset scene (stage1) when selecting it from Level stagemain menu

Good day I have a problem when the player finish stage 1 the screen look like this Then going back to selecting level When I try to play the stage 1 again. I want to reset the stage 1 so i can play ...
0
votes
1answer
42 views

<Missing LoadingScreenManager.LoadScene> even though it's not?

What was once a smooth loading screen, is now a frozen screen. From my main menu, it usually skips the loading screen and dives into the gameplay (which isn't too bad) but the real issue, is if you're ...
0
votes
1answer
104 views

Character not collecting animated coins

I am trying to make a simple game where the player jumps and collects animated coins. After collecting all the coins, the scene is supposed to change. For some reason, my character collects the coins ...
0
votes
2answers
241 views

Unassigned reference exception when proceeding from scene to scene

So, I have built a script in unity in c# called parralax. It basically parallaxes two backgrounds and looks like this:- ...
0
votes
1answer
67 views

How should I load/change/activate scenes?

Scenes are confusing the hell out of me and I'm pretty sure they should be simple to understand. When the game loads, only the current scene has a buildIndex != -1. In order give it a 'real' build ...
0
votes
1answer
88 views

Is it possible to run simulation of two scenes simultaneously in Unity3D?

I have got 2 scenes in a unity project and want to play simulation of both the scenes in parallel. Has anyone tried this? Thanks!
3
votes
2answers
2k views

Load scene without being in build settings and without using AssetBundle

This is the closest I've gotten: ...
0
votes
1answer
59 views

How do I make a GameObject carry across only 2 specific scenes?

I have a GameObject in my main menu and help scenes that I want to carry across both scenes but be destroyed on all other scenes. I am having multiple issues with it such as it wont destroy on other ...
0
votes
1answer
37 views

My script to play the intro scene the first time the player hits play from the main menu wont work

The script I am using determines if it is the players first time hitting the play button and if it is it will load the intro scene, but if they have played before it will take them strait to the game ...
0
votes
3answers
162 views

Instead of using yield wait for seconds can I use a UI button for async?

the code below is the code I use to load my game scene ater the intro animation plays. The way it works is that it preloads the game scene because it is big enough it takes time to load and activates ...
1
vote
1answer
938 views

How can I take screenshots with two cameras simultaneously in Unity?

I am trying to capture different parts of a scene created in Unity. I have two cameras capturing different parts of the scene. Now, I need to take screenshots using these two cameras simultaneously. ...
0
votes
1answer
115 views

How Can I Load Ads Particular Level?

How Can I Apply Ads Different Level?? I Create A 40 Level, Ex: Level1 complete then load ads Interstitial Level2 complete then load ads Interstitial Level3 complete then load ads Rewarded Level4 ...
0
votes
0answers
80 views

Switch scenes and continue to receive bluetooth stream from Update

I have a scene where I'm connected to a BLE device and receive data in bytes. I want to switch scenes from the current Update and continue to receive the data without disconnecting. How should I do ...
0
votes
1answer
60 views

How to remove an element from the scene while keeping it in array?

I combined cube meshes to make a big one. I stored the info of every cube in an array within a list of chunk. Now i want to delete the cubes in the scene to only keep the combined result, but without ...
0
votes
0answers
58 views

My gameObject does not move, when it returns to its original scene

I have a map where I have a 2d Ship as gameObject, which can be dragged with the finger to travel between islands and do the corresponding activities, when the player finishes playing on the island he ...
1
vote
1answer
585 views

How do you script movement of two or more characters at the same time?

Its not quite clear how to move 2 characters at the same time from and to fixed positions. Within the tutorials for RPG Maker MV users are shown how to script the movement of single characters at a ...
0
votes
1answer
1k views

Spawning player at a certain point after a new scene was loaded

I have a Game Manager with a DontDestroyOnLoad function on it, before loading a scene I'm passing the variables needed to reset players position to a certain position. This is what my code looks like; ...
3
votes
1answer
874 views

How to make party members appear and move to begin a conversation scene?

A common conversation starting trope in JRPGs, when the party is represented as a single character, is for the characters to come out of the player's position and begin talking with each other and the ...
0
votes
1answer
490 views

Why it isn't possible to get a progress in SceneManager.LoadSceneAsync between 0.0 and 0.9?

I am trying to understand why does SceneManager.LoadSceneAsync progress always jumps from 0.0 to 0.9, no matter how big a scene can be. To try trigger smoother ...
1
vote
1answer
50 views

Timer breaks after changing scenes

I am using this script below to move an animation in unity with no root-motion. It simply walks across the terrain. I have timer attached also so the animation doesn't start to walk for 60 seconds. ...
1
vote
1answer
1k views

Unity SceneView Positionning object with mouse position in Editor script

I would like to create an editor tool who can change the position of an object in the scene view into other object in the world, based on mouse position, like in the picture bellow (the red pyramid is ...