Search Feedback

77
votes

Increase the size of PlayerPrefs on WebGL

WebGL

-

-

PlayerPrefs uses IndexedDB and currently has a limit of 1MB, but IndexedDB allows much more than 1MB. Why not increase the limit?

Comments (1)

  1. 08bcebee64b10aa49038733a54f6f0c0?d=mm

    SittingDuck

    Aug 23, 2018 05:23

    The reason is probably that every evil popup advertizer, or video / game service would try to pack all the allowed space with as much cached stuff as they possibly can to save on network costs; this would eventually fill up and your oldest SAVEGAMES would get deleted because you saw too many ads --- or become unstable from being too full from so many sources. Or become as incredibly hard to transfer savegames between computers as Flash savegames, if not even more so.

    Alternatively, there could be a popup to ask you to allow more space, with every single ad once your playerprefs is full, if you think people will be happy manually trying to prevent unwanted agents from taking the space we need for our precious savegames.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10889)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(364)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(148)

Collaborate

(68)

Docs & Tutorials

(247)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(190)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)