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
1 answer
45 views

How can I change scenes when the player touches another CollisionShape2D in Godot 3.5?

I need to know how I can change scenes in Godot 3.5 when the player touches another CollisionShape2D. I've tried this: ...
shadowxstrike's user avatar
0 votes
0 answers
18 views

Player controller duplicated or changes position when transitioning from another scene

I am experiencing some weird behavior. I am making a VR game in Unity using OVRPlayerController. I have a menu scene that is a full small level with an ...
user3046771's user avatar
0 votes
1 answer
36 views

How do you declare a custom structure to retain field values after a scene reload?

I have the following code : ...
tigrou's user avatar
  • 3,204
0 votes
1 answer
294 views

How to play only the active scene when entering Play Mode?

Complete Unity novice here. First project ever, trying to get familiar and understand the basic aspects of game development with Unity. Trying to work with scenes now. I have two scenes in my ...
Scaramouche's user avatar
0 votes
0 answers
141 views

Unity URP Invert desaturated shader effect with

I wanted to have a shader that invert and desaturate the background scene color with a mask in URP using scene color. I made a shader within shadergraph : And it did not render as expected, I think ...
Felox's user avatar
  • 67
0 votes
1 answer
39 views

Play each scene at godot 3.1

I have created a project. And I have saved 20 scenes for 20 game levels. I have designed each scene but when I hit f5 to play each scene, it shows level1 scene. I don't know what the problem is.
Nina Monti's user avatar
1 vote
0 answers
83 views

Prefab not instantiating in the next scene Unity

I have a problem with bullet prefab in next scene. In first scene the bullet is instantiated and shoots, but in other scenes the same bullet prefab is not instantiated for some reason. A picture of ...
a183's user avatar
  • 11
0 votes
1 answer
26 views

Assigning references to Prefabs placed in each Scene

I am currently working on a small 2D game which has a few different scenes, which are each a different level. I want to use my object prefabs from one scene in the others, but these do not include ...
Jack Johnson's user avatar
1 vote
0 answers
388 views

Scene loading finishes (90%) in 1 frame, but isn't isDone until 3 frames later

I am loading scenes async using addressables like so ...
complex problem's user avatar
0 votes
1 answer
147 views

How to modify single-scene ECS setup to support multiple local players in different scenes?

I'm currently developing a game in Monogame / C#. I have the underlying game engine set up in the following way: Entity/Component/System architecture A Scene includes a map, cameras, and a list of ...
Rich. T.'s user avatar
1 vote
0 answers
37 views

How to limit the character movements to a delimited area

Consider the below images get from the Final Fantasy VII and Alone In The Dark games: I assume that the above scenes are composed by a set of layers composing the background image (allowing thus the ...
Jean-Milost Reymond's user avatar
0 votes
0 answers
22 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 ...
hotmeatballsoup's user avatar
1 vote
1 answer
679 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: ...
Keith R. Davis's user avatar
0 votes
1 answer
115 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 ...
YoshGJ's user avatar
  • 433
0 votes
0 answers
36 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 ...
Arian_ki's user avatar
  • 691
2 votes
1 answer
126 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 ...
JShoe's user avatar
  • 75
0 votes
1 answer
4k 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: ...
Elliot's user avatar
  • 1
0 votes
2 answers
484 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 ...
Notbad's user avatar
  • 1,095
0 votes
1 answer
405 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 ...
Charles Averill's user avatar
1 vote
0 answers
106 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 ...
akaBase's user avatar
  • 121
0 votes
1 answer
299 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. ...
Prince Erisol's user avatar
0 votes
0 answers
179 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 ...
Kavisha Samarasinghe's user avatar
0 votes
1 answer
958 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?
qqqqqqq's user avatar
  • 268
0 votes
1 answer
164 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 ...
qqqqqqq's user avatar
  • 268
0 votes
1 answer
72 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 ...
Maku's user avatar
  • 3
0 votes
1 answer
342 views

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

...
sun's user avatar
  • 1
1 vote
1 answer
981 views

Gizmos not being drawn until GameObject selected

I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and ...
caleidon's user avatar
  • 561
0 votes
2 answers
196 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). ...
Object's user avatar
  • 289
2 votes
2 answers
661 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 ...
Jasper Citi's user avatar
2 votes
1 answer
281 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 ...
Blazer Coolcar's user avatar
1 vote
0 answers
1k 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 ...
user3797758's user avatar
  • 3,631
0 votes
1 answer
186 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, ...
apex's user avatar
  • 101
2 votes
1 answer
1k 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 ...
Basic's user avatar
  • 1,166
0 votes
0 answers
175 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 ...
Jean-Milost Reymond's user avatar
1 vote
1 answer
81 views

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

The subject script: ...
ashir's user avatar
  • 31
3 votes
2 answers
5k 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 ...
Candid Moon _Max_'s user avatar
0 votes
1 answer
557 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, ...
SamuraiMelon's user avatar
3 votes
1 answer
685 views

How to prevent Unity from generating unnecessary changes after saving a 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 a scene (.unity file) in Unity, even though there are ...
kkl's user avatar
  • 43
2 votes
3 answers
3k 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 ...
Kyi Zet's user avatar
  • 21
0 votes
2 answers
190 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 ...
Dobromir Ivanov's user avatar
1 vote
1 answer
1k 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 ...
Realitätsverlust's user avatar
0 votes
0 answers
43 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 ...
blinkafrootable's user avatar
0 votes
0 answers
49 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 ...
Eleer's user avatar
  • 101
0 votes
0 answers
377 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 <...
RandomName's user avatar
0 votes
2 answers
2k 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 ...
EmperiumIce's user avatar
0 votes
1 answer
30 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 ...
Tiago Martins Peres's user avatar
0 votes
1 answer
422 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 ...
Alakazooom's user avatar
0 votes
1 answer
1k 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 ...
SidS's user avatar
  • 171
0 votes
0 answers
70 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?
Johan Holtby's user avatar
0 votes
0 answers
1k 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:...
CraftyMaelyss's user avatar