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.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
398 views

Implementing a SceneManager using OpenFL

I'm trying to implement a basic SceneManager using OpenFL and Haxe. I don't have a lot of experience using OpenFL and Haxe so I have a few problems. Here is how I designed the SceneManager class: <...
3
votes
0answers
87 views

Revert a GameObject to a previous version

Is there a way to use an old version of a scene.unity file to revert changes for specific GameObjects only? Occasionally Unity GameObjects can lose all their references in the Inspector (If a prefab ...
3
votes
0answers
351 views

What is the optimal scene size?

I'm coding a small "Binding of Isaac"-like game, with a little help from the official "Scavengers" Unity tutorial, since it's my first game. In the tutorial every level is ...
1
vote
1answer
23 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 ...
1
vote
0answers
18 views

SceneNode transform and Eye and Center position

I am learning some inner workings of game engine development and have come across this confusion. To explain what I am trying to do, I want to start with an example: Let's say that I have an object (...
1
vote
0answers
29 views

Rendering a scene or prefab in a gallery style view in Unity3D?

I'm working on a project that is a bit like YouTube where someone browses some content, clicks on one and sees it in the youtube player while still seeing the rest of the content. In my case the ...
1
vote
0answers
125 views

How can I load a scene and move the character to a certain location?

I am making a dungeon crawler RPG game in Unity 2D and I want to allow the player to go back and forth between rooms of the dungeon. This is the code for a Master script that sends the player to a re-...
1
vote
0answers
1k views

Unity crash upon opening a specific scene

I have this one specific scene that I spent over 20 hours building. But as of today when I attempt to open it unity crashes. I have opened the error log and it states: ...
1
vote
0answers
66 views

Scene doesn't load in editor but loads perfectly fine in final build

When my character dies the game is supposed to load a new scene. The code is perfectly fine because it does this when I make a web build for it. But in the editor I get this: I have no idea what the ...
1
vote
0answers
378 views

Custom Scene Component Do Not Register Children

I have made a class that is derived from USceneComponent which contains 4 references for itself and two UStaticMeshComponents. Simply I am trying to make a tree structure. When I first create actor (...
0
votes
0answers
21 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
29 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
33 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
0answers
42 views

How do I prevent scene from activating in Unity

There is a logic to allow the scene activation later in the game after it was loaded. However, "sometimes", the scene would activate itself automatically. I tried debugging and found that the logic to ...
0
votes
0answers
19 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
89 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
99 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
2answers
54 views

Creating UI with multiple scenes inside of a scene

I am trying to create a menu UI. I have three menus, one main one that I want to display in the center of the screen and two smaller ones that will come out from the left and right respectively. I ...
0
votes
0answers
46 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
0answers
57 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 ...
0
votes
0answers
34 views

Restore scene by adding stored objects

My game has a bunch of GameObjects that I created with code at runtime and that I "store" in an array in a static class. When I unload the scene and load it again, these objects are gone (of course). ...
0
votes
0answers
49 views

Determining whether a large building should be split into multiple scenes

This is about designing a first person retro game in Unity3d. In this game the player would walk around inside a large maze-like building that has corridors on 10-15 different floors. Each floor has ...
0
votes
0answers
2k views

Why is Particle System Not Visible Without Scene Window Viewing the Origin?

I have a particle system, which is supposed to be highlighting an important game object, but the Particle System doesn't show on the game window unless the Scene window camera has the Origin (0,0,0) ...
0
votes
0answers
152 views

Rendering an Assimp Scene object in XNA without DirectX or OpenGL

Is there any site that explains how to render an imported Assimp Scene object in XNA/MonoGame using only the Frameworks available in those libraries? I realize that would be at the Vertex/Matrix level ...
0
votes
1answer
29 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 ...
-1
votes
1answer
2k views

Unity-How to use one scene's camera in another scene?

I have two scenes in my game, one is the menu scene with the UI and the other is the scene where all my game items are. Right now my UI looks too plain so what I want is to display my actual game ...
-3
votes
2answers
1k views

What would be a perfect manner to load a scene then the player's position in Unity 5.3?

I have problem with scene's and objects' positions. My problem is that the position of object/player changes after I load the scene. I don't know why this happens. I have saved my object position ...
-4
votes
1answer
51 views

Find objects with a specific class in Scene in Unity

I need to find every object of the same class in the scene. How can I do this?