Skip to main content

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
64 views

Why does my "Game" tab show images with grayish/wrong colors while my "Scene" tab correctly shows images with correct colors in Unity?

I create a Unity project. The "Scene" tab shows the image with the correct colors. But, the "Game" tab shows the image with a grayish colors, which are the wrong colors. Here is ...
Job_September_2020's user avatar
0 votes
2 answers
95 views

How to prevent the "_ready" events and pre-ready var declarations in a loaded, instantiated scene?

I have a simple save game/load game system that packs the entire world scene to the disk, then loads it via ResourceLoader.load(): ...
Noideas's user avatar
  • 17
1 vote
1 answer
102 views

Is it possible to set properties on a scene in a TileMap/TileSet?

If I have the following: sample of code showing exported properties: [Export] public TileSet TileSet { get; set; } [Export] public string TileName { get; set; } ...
Alexander Trauzzi's user avatar
0 votes
0 answers
89 views

Stray (orphaned) nodes remain after queue_free() of their parent scene

Godot 4.2.1 I have implemented a simple scene-save system: The Savegame Autoload listens for the S key press. When S is pressed, the ...
Noideas's user avatar
  • 17
0 votes
0 answers
156 views

How to make multiple variants of an enemy mob scene?

I'm just starting out in Godot 4. I followed this tutorial on how to create my first game, and I'd like to add some new features to make it more interesting, and start coding some stuff of my own. I'd ...
Whitehot's user avatar
  • 101
0 votes
1 answer
56 views

How to save score without resetting to 0 between Game Scene and Pause Scene?

I'm currently working on a LibGDX Java Game Project inspired by the Space Invaders game where I have created 2 Scene Classes: LevelScene and ...
TechGeek49's user avatar
0 votes
0 answers
26 views

Passing objects through scenes

I thought this would have been asked already but I could not find an answer to it so sorry if it has been asked already. I am making a VR game in Unity using the Hurricane VR Framework. Now I am ...
Alejandro's user avatar
0 votes
1 answer
353 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
24 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
54 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,214
0 votes
1 answer
656 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
1 answer
46 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
113 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
30 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
613 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
193 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
39 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
1 vote
1 answer
937 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
140 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
  • 515
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
132 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
558 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
502 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
146 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
331 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
203 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
1k 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
  • 278
0 votes
1 answer
177 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
  • 278
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
386 views

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

...
sun's user avatar
  • 1
1 vote
1 answer
1k 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
  • 581
0 votes
2 answers
229 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
758 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
322 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
2k 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,641
0 votes
1 answer
211 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,228
0 votes
0 answers
196 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
104 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
609 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
736 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
223 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
53 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
60 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
420 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