Search found 7 matches
- Wed May 24, 2023 8:13 pm
- Forum: General Discussion
- Topic: Save files getting corrupted or deleted
- Replies: 1
- Views: 845
Save files getting corrupted or deleted
I'm making a mobile game, and the save files are either getting deleted or corrupted when the player exits the game during the scene transition. In short, the flow for changing a scenes goes like this. 1. Enter trigger to change scenes 2. Data gets saved 3. New scene gets loaded 4. Expensive method ...
- Sun Jun 20, 2021 7:31 pm
- Forum: General Discussion
- Topic: Saving prefab gets reflected in version control
- Replies: 7
- Views: 1415
Re: Saving prefab gets reflected in version control
THANK YOU JOEL! You helped me get to the bottom of the issue! I was in a character selection screen that didn't have the player prefab in it, so I was saving directly to the prefab asset in my CharacterSelect script. I just added an instance of a Player to the scene and used that as the reference in...
- Sun Jun 20, 2021 6:40 pm
- Forum: General Discussion
- Topic: Saving prefab gets reflected in version control
- Replies: 7
- Views: 1415
Re: Saving prefab gets reflected in version control
Before I do that, can you tell me how would you go about saving the prefab itself (instead of the instance)? Maybe I'm doing something inadvertently
- Sun Jun 20, 2021 6:24 pm
- Forum: General Discussion
- Topic: Saving prefab gets reflected in version control
- Replies: 7
- Views: 1415
Re: Saving prefab gets reflected in version control
To my knowledge, I'm only saving the prefab instance (https://docs.moodkie.com/easy-save-3/es ... s-prefabs/)
I added the prefab script to the game object, and I'm calling LoadInto() and Save() in a component. How do I prevent saving the prefab itself?
I added the prefab script to the game object, and I'm calling LoadInto() and Save() in a component. How do I prevent saving the prefab itself?
- Fri Jun 18, 2021 11:49 pm
- Forum: General Discussion
- Topic: Saving prefab gets reflected in version control
- Replies: 7
- Views: 1415
Saving prefab gets reflected in version control
Hi, when I save a prefab, the changes get reflected on the prefab object itself, which then gets detected in version control. Is this expected? How can I prevent this?
- Mon Dec 07, 2020 4:14 am
- Forum: General Discussion
- Topic: Issue saving on Android device
- Replies: 1
- Views: 812
Issue saving on Android device
I'm trying to save gender selection for a player on the main menu of my game. Intended behavior: 1. Enter intro screen 2. Tap "Start Game" 3. Tap "Male" or "Female" 4. Scene change with a... [SerializeField] private Enums.Gender ...field memorized What I’ve tried: - Ena...
- Tue Nov 24, 2020 12:50 am
- Forum: General Discussion
- Topic: Adding auto save to my scene causes build to fail
- Replies: 2
- Views: 858
Adding auto save to my scene causes build to fail
On Unity 2020.1.4f1, for my Android build
1. I go the starting scene in my game.
2. I enable auto save/load on the scene from the Easy Save menu
3. I get the error below.
1. I go the starting scene in my game.
2. I enable auto save/load on the scene from the Easy Save menu
3. I get the error below.