Quantcast
Channel: Questions in topic: "playerprefs"
Browsing all 1333 articles
Browse latest View live
↧

playerprefs data persist even after uninstalling my app

hello everyone, my name is chetan and i am using unity 2019.1 and two testing devices(redmi note 3 and redmi 6a ). I have made an application , everything is working fine in unity editor and game play...

View Article


PlayerPrefs not quite working

So i'm trying to make an experience system using PlayerPrefs right now. Previously I had a working script like that that saved the player's position. But later i started this level system, and I...

View Article


Making multiple save slots???

HI everyone, I should start by saying Im fairly new to unity, I get most of it but I have A LOOOOT of trouble undertsanding player prefs and what not. Right now Im working on a visual novel type game...

View Article

Corrupted Files using PlayerPrefsX

Hey everyone, i am using PlayerPrefsX to save data. I had some data saved which i wanted deleted. I did so by going into this directory HKEY_CURRENT_USER/Software/Unity/UnityEditor/. After i deleted...

View Article

How do I access playerprefs from another script?

Not sure if that was the right wording for this question but hopefully you guys understand. I'm trying to save my score value in game so that I can display it on the death screen. Thanks in advance!!...

View Article


PlayerPref only saving 1 variable

Hello, I am using PlayerPrefs to store values from 2 TMP Input fields. The On Value Change event for each input field calls the StoreDisplay method. What is odd is that the value for wD is stored and...

View Article

Where do I put PlayerPrefs.SetInt?

I've been creating an upgrade menu and in the menu I have multiple buttons. When you click a button it will bring up a menu on the bottom showing your stats. However, despite setting the Speed...

View Article

How to serialize multiple json objects from playerprefs

So, I am trying to create a character creation system using PlayerPrefs (it is not my first choice, but since I am using a website with no back-end I am very limited in what I Can do for saves)....

View Article


Playerprefs not saving Guids

So, I have a problem where I am trying to save characters in player prefs. I am trying to save them as a list in one. I want to ID of the character to be a Guid, but it seems to not save it. Player...

View Article


User Playerprefs to save unlocked level

Hi I am relatively new Unity and coding and am working on my first game and have been stuck on getting my levels menu to stay unlocked with PlayerPrefs for about 3 weeks now and could do with some...

View Article

Save values on different objets with same script?

Hello i am making a game like cookie clicker called booty slapper, and in the shop i have different items and when i buy one the price increases and thats working. But the problem is when im trying to...

View Article

How to save different values with same script?

Hello i am making a coockie clicker like game were there is a shop and you can buy different items. I have 2 scripts one for items that add per secound and one that adds a multipler. I have made it so...

View Article

Do i need to use PlayerPrefs, or there is another way?,

Hi. For example: i wanna create a TIC TAK TOE game, but not 3x3, the game will have customizing size. So, i have 2 scenes: **MainMenu** (with 2 input fields for setting game size) and **Game**. How can...

View Article


Unity problem when i convert playerprefs save to the standard file io save

i am using tow kind of save the main save which is encrypting save that is using in this video (https://www.youtube.com/watch?v=XOjd_qU2Ido&t=351s) and playerprefs save when i use them together...

View Article

How to save variables for other scenes/create saves

So I'm making a game that involves collecting things, in a similar manner to Super Mario Odyssey. Therefore, when the player grabs a collectible, it should be saved and kept the same the whole time. I...

View Article


Regedit has two locations for Unity keys?

I'm finding it a bit frustrating testing different versions of PC builds for the same game. I just discovered that registry keys are not only located under...

View Article

Playerprefs issue in WebGL

Hi, I'm using playerprefs in my WordSearch Game that I built with Webgl. The Issue is appear when I close my game during the game play for several times. It's automatically starts with random countdown...

View Article


Save and Load Instantiate Enemies

In my game i have a button to save all instantiated enemies their hp, position or if they are alive/dead and In main menu is load button to go to stage scene and load enemies. For example: There is...

View Article

How do I get my endless runner high score,How do I make high score for an...

Hello, the script works as far as keeping up with the score, however it doesn't save the high score as predicted. I would appreciate the help and Thank in advance. public Transform player; public Text...

View Article

Specific PlayerPref not saving

I'm having an issue where all of my playerprefs save except one. Could you guys take a look at it? if (SceneManager.GetActiveScene().name == "zombies") { zombiesscore = scoreValue; if (zombiesscore...

View Article
Browsing all 1333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>