Saving position of drag n drop objects.
What is the simplest way to save objects that you are dragging and dropping in a scene? Lets say you have 12 bricks in your scene and you move each brick to a different position in the scene....I am...
View ArticleUnity Saves Over All of My Project's Scenes, Instead of Just the Scene I Choose.
**I Am Working on a Terrain.** **I want to make multiple scenes in my Unity project to keep iterations of my work:** In case I make a mistake and need to go back. **Issues:** - Every time I save it as...
View ArticleHow to load player last scene visited
Hello guys! please i need help to understand how to save and load the last scene that player has played, It can be even playerpref anything will be fine! If that is important the game is set up like...
View ArticleFile > Save Scene As
Hey, I changed my version of Unity and the File>Save Scene As option is missing? If I click the File drop down I only get the following options: - New Scene - Open Scene - Save - Save as... - New...
View ArticlePlayPrefs scene not saved
After restarting the application, the previous level does not load. Please tell me what is wrong in the code LoadLevel.cs public void ContinueGame() { string levelName =...
View ArticlePlay mode forcing Scene save
Starting today I can no longer press play without Unity asking me to save my Scene first. If I select "Don't Save", I get an error saying: SBP ErrorUnsavedChanges...
View ArticleUnity won't save any changes by custom editor after a fatal error crash (also...
Ok so here is the case: I made a custom editor in order to make level faster, (Reference here: https://www.yudiz.com/making-a-basic-2d-tile-map-editor-using-a-custom-inspector/), and it work perfectly...
View ArticleIs there a way to save a scene without opening it ?
Hi ! I'm making an autosave script wich run in editor and I would like to save the active scene in an other folder, without opening it after the save. To be clear, *sceneA* is loaded, I save it in an...
View ArticleProblem with saving player data
Hi everyone, I have a problem. I did the script for saving the player but it only saves the position and not the scene. So if the player saves in scene A and reloads the game when he is in the same...
View ArticleUnity export as OpenDrive
Hi, I'm trying to create a 3D map and export as OpenDrive format (or vise-versa). I can't find answer on how to do this if this is possible? Does anyone know? Thanks.
View ArticleBind to OnWillSaveAssets and force to save my scene
What I want to do: any time when someone hit Ctrl+S I want search all scenes for a specific components, run some method on them and then force to save scenes with this components along with other...
View ArticleHow do you save an instance of a game object in Unity C# after exiting the game?
I'm trying to save my checkpoint controller which logs the last checkpoint position that the player collided with and in another script loads the player by the last touched checkpoint on death. The...
View ArticlePressing play button in editor makes changes to project (marking it with "*"...
Pressing play button in editor makes changes to project (marking it with "*" for unsaved changes). It appears that my project gets modified by something when entering play mode... Is it possible to...
View ArticleSave game progress at respawn points
Hi, I am new to unity and hoping someone can help. I have a 2d Platformer game. It is one large level, but as the player progresses through the level there are respawn points. when the player passes...
View ArticleHow to save current scene of the program and upload the scene to web?
Hello, I built a design program, 3DModel.exe. This program is a simple virtual tour maker. Users can walk around in the building model. The problem is, I want to do some changes in the current scene in...
View ArticleWhat's the best way to store world objects placed by the player? (Like Animal...
I want to create a topdown, 2d city builder game, but I'm not sure how to efficiently store/save objects placed by the player. ---------- I was thinking about creating a scriptable object with a...
View ArticleAnimator.parameterCount returns 0 after saving project in editor
I'm trying to create an editor script which displays an animator's parameters. However, as soon as I save my project (after making any change), animator.parameterCount returns 0. A warning also appears...
View ArticleSave Game Sceenes user quit aplication, Can I save the scene as a whole while...
I want to record the scene as a whole, I want to delete this scene when the game starts from this scene and the game ends. There will be 2 scenes in total, the menu and the game scene, the game is...
View ArticleUnity freezes (5+ min) after version update. How to investigate the problem?
Hi, I recently updated my project from 2018.4.14 to 2019.4.12. After this, Unity started freezing for a good 5 minutes whenever I save my scene, or enter/exit playmode. So I made a new project and...
View Articlethe open scene has been modified externally, CANT SAVE SCENE
So after i play my game at least once, this appears: ![alt text][1] After that, when i want to save the scene, this message pops up: ![alt text][2] [1]:...
View ArticleHello,I am trying to build a save mechanism for a building game in unity in...
Hello everyone i am building a building game in unity in which the player can build a city i want the player to be able to save the scene that he has build so he can go back to it when he plays next...
View ArticleWhy does saving a scene cause Unity to freeze?
I'm on a Mac. For some reason, saving a specific specific scene causes Unity to freeze. Every other scene works fine. I tried checking the logs, and the only thing that seemed unusual was the message...
View ArticleHow do I save scene when I keep getting error messages to put it into an...
I have already have an asset folder set up and ready, but even if I click on it or go in into it, it still says that I need to place the scene in the assets folder. But how? Where? It's very...
View ArticleProblem with Save Scene
Hi. I am creating a game where the player can teleport to a new scene. Changes the current scene to a new one (SceneManager.LoadScene (SceneName);). is there any way to save the scene he is leaving?...
View Articlesave and load scene
Hi, my game doesnt have main menu, just simply levels, i want create save system so when players opens the game i want to continue from last session scene(level) . here is my game code public class...
View Articlesave scene and load using binary file
Hi, my game doesnt have main menu, just simply levels, when players opens the game i want to continue from last session scene(level) . how do i create binary file(or using playerprefs) . could you...
View ArticleActivate the object after checking the current scene and the previous scene
I want to check what the previously executed scene is. After playing the game, I want to activate and deactivate objects in the current scene after seeing the previous scene. Should I save the scene by...
View ArticleEverything in my Scene is DELETED!
I need help! a couple days ago I created a game, and when I loaded it up, everything in the heirarchy and on the scene was GONE! Every other time I saved and loaded the game, it worked flawlessly! I...
View ArticleCode-generated changes to prefab override properties not persisting
Hi - I have a within and across level player transition system which uses a "Transition" prefab that has a GHTransitionController component with a unique ID. When events happen in the game, the game...
View ArticleSave and load levels in-game to be integrate with Steam Workshop
Hello, I want to allow players to create their own levels using Unity. Those levels should be loadable within the game. I am used to adding scenes to the build index, which is not possible with those...
View Article
More Pages to Explore .....