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
0 answers
17 views

Orchestrating scene flows in Unity

New to Unity and I've now completed several of their basic tutorials (2D Ruby's Adventure and Create with Code) and am having trouble seeing the "forest through the trees" on my first toy ...
user avatar
1 vote
1 answer
51 views

Remove a tile from a scene with GDScript in Godot

How do I remove a tile from a scene programmatically? I have tried the following to no avail: ...
user avatar
0 votes
1 answer
80 views

An issue that could be either serialization, or Unity's SceneManager

At this point, I don't have any idea of what could the issue be. So, I was trying to make a project wide loading screen. Through an editor window, I assigned the loading scene, which was picked up via ...
user avatar
0 votes
0 answers
35 views

modifying unity scenes

I would like to use Unity scenes (as it's visually easy to create levels) but I want to modify them as the player interacts (for instance, if the player broke a glass, the glass should be broken ...
user avatar
  • 639
0 votes
0 answers
41 views

Unreal 4: how to access scene actor from c++ as level property?

I added property to level's blueprint: TSoftObjectPtr SceneActor; It allows me to assign a scene actor to it in editor. But when the BeginPlay of level is started, I see that this property hold valid ...
user avatar
  • 231
2 votes
1 answer
71 views

How do I view the test going on in Unity Playmode?

I'm working on a new project using TDD, and I'm doing a good job of checking everything from the ground up including checking physics interactions on instantiated prefab, but I've gotten about to the ...
user avatar
  • 75
0 votes
1 answer
67 views

How to copy a scene in Unity?

When I use CMD+D on the current scene to duplicate and then I open the new scene, I get this error message: ...
user avatar
  • 1
0 votes
2 answers
149 views

Unity keyboard state issue between scene loads

I'm facing an issue when loading scenes in unity. My game is composed of full screen levels where players exit to the next level when touching the edges. So, when the player touches an edge I load ...
user avatar
  • 1,075
0 votes
1 answer
131 views

Should building interiors be in separate scenes in Unity?

I have an overworld with multiple buildings in it. Each building has a separate interior model with ~500 triangles. I was wondering if it would be better for performance to store the interiors in the ...
user avatar
1 vote
0 answers
42 views

Unity3D Scene maximum recommended Size/Vertex count

I am about to start making a low-poly open world RPG. That said what would be too big for a single scene, as in maximum recommended amount of GameObjects/Colliders? Sorry for the stupid question but ...
user avatar
  • 111
0 votes
1 answer
60 views

Prevent Unity From Loading The Next Scene After Getting to the Final Scene

I'm a beginner in Unity, I wrote a script that will load the next scene whenever monsters in a scene are dead. The script is working fine. Here's my script. ...
user avatar
0 votes
0 answers
55 views

Gizmos disappear after a scene transition

I have used OnDrawGizmos function to draw some cubes. If I run the project from that particular scene, the gizmos are visible. But after a scene transition they disappear. It appears again if I select ...
user avatar
0 votes
1 answer
171 views

How could I intercept a save scene action being run in Unity?

How could I intercept a save scene action being run in Unity? There is some code I would like to run in editor whenever a scene is saved. Is it possible for me to detect somehow when a scene is saved?
user avatar
  • 238
0 votes
1 answer
94 views

How to pre-configure a prefab in the editor for multiple similar buttons before instantiating them

Let me explain my problem with my concrete example. I have a button prefab. A button prefab has a lot of configurations: background color, background shape, background image, text, text color, button ...
user avatar
  • 238
0 votes
1 answer
66 views

Constructing a building in the "Past" scene, and finding a different version of it in the "Future" scene

I am trying to create a game where one scene would be the "Past" and one scene would be the "Future". The player can travel through a portal to move between the past and future ...
user avatar
0 votes
1 answer
155 views

How do I access objects that are in the next scene I'm loading?

...
user avatar
  • 1
1 vote
1 answer
245 views

Gizmos not being drawn until GameObject selected

I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and ...
user avatar
0 votes
2 answers
123 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). ...
user avatar
  • 169
2 votes
2 answers
281 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 ...
user avatar
1 vote
0 answers
85 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 ...
user avatar
0 votes
0 answers
651 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 ...
user avatar
  • 3,516
0 votes
1 answer
73 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, ...
user avatar
  • 101
0 votes
1 answer
654 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 ...
user avatar
  • 610
0 votes
0 answers
119 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 ...
user avatar
1 vote
1 answer
39 views

Despite the connect() method returning 0 (enum), the function specified in the connection is not called

The subject script: ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
289 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, ...
user avatar
3 votes
1 answer
395 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 ...
user avatar
  • 43
1 vote
3 answers
2k 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 ...
user avatar
  • 11
0 votes
2 answers
96 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 ...
user avatar
1 vote
1 answer
656 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 ...
user avatar
0 votes
0 answers
28 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 ...
user avatar
0 votes
0 answers
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 ...
user avatar
  • 101
0 votes
0 answers
191 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 <...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
0 votes
1 answer
174 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 ...
user avatar
0 votes
1 answer
571 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 ...
user avatar
  • 141
0 votes
0 answers
47 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?
user avatar
0 votes
0 answers
967 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:...
user avatar
0 votes
1 answer
35 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 ...
user avatar
0 votes
1 answer
55 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 ...
user avatar
0 votes
1 answer
114 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 ...
user avatar
  • 105
0 votes
2 answers
388 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:- ...
user avatar
0 votes
1 answer
220 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 ...
user avatar
  • 200
0 votes
1 answer
308 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!
user avatar
  • 329
3 votes
2 answers
3k views

Load scene without being in build settings and without using AssetBundle

This is the closest I've gotten: ...
user avatar
0 votes
1 answer
156 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 ...
user avatar
0 votes
1 answer
46 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 ...
user avatar
0 votes
3 answers
283 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 ...
user avatar