Could not save PlayerPrefs

Hi guys! Faced a problem which arises only in WebGL. The problem is saving the game:

Could not save PlayerPrefs data under key LustZombie_7_screenshot. Exception: UnityEngine.PlayerPrefsException: Could not store preference value
  at UnityEngine.PlayerPrefs.SetString (System.String key, System.String value) [0x00000] in <00000000000000000000000000000000>:0
-> AC debug logger

This problem has not been identified in windows 32/64.

Unity version 2022.3.7
Please help me to solve the save problem.

How much data? The total storage limit for PlayerPrefs on WebGL is 1 MB.

I am a beginner and not a programmer, what data do I need to send you for a more detailed error diagnosis?

No I‘m asking how much data (length in bytes) you are trying to save? Because you can easily run into that 1 MB limit.

Can you tell me where can I watch it? To understand what size?

well look at the data you’re saving. if you save name, and a score… no, not 1mb… if you save a ton of positions, and inventory and mob details…

tell me where to look, I will be happy to provide data to solve my problem

you wrote it, you must know where youre saving things

I use the constructor to create a game

Other than they seem to have a fairly comprehensive manual, why not ask them what its saving and why you’re having the issue?

Because I didn’t write the code/didn’t make any changes. I think this problem is not related to the AC, but exclusively to the Unity system itself.

I mean that I use standard settings.

no unity doesnt write to playerprefs unless you tell it… so its down to the creater thingy - otherwise we’d all have that problem makiunig webgl wouldnt we?

Yes you are right.

Guys, who knows if there are settings in the unity editor that can indirectly affect saving in webgl ?

(smacks head on desk)

Nothing, as it saves what its told, how its told