• Throwaway
    link
    fedilink
    English
    239 months ago

    Thats fucking amazing and completely unity’s fault. What engine in their right mind saves user preferences in the registry?

    • DarkMetatron
      link
      fedilink
      English
      239 months ago

      Saving user preferences in the local user part of the registry is kind of what the registry is meant to be for (besides others).

      • @[email protected]
        link
        fedilink
        English
        49 months ago

        It might be bad practice to dump 1.3GB of variable user data into the registry, though. Especially when there’s SQL servers and Nuget packages that can deal with that kind of data in a platform-agnostic way.

        • DarkMetatron
          link
          fedilink
          English
          1
          edit-2
          9 months ago

          That for sure, those numbers are way beyond intended usage.

          And there is a difference between saving user preferences/settings and user game data. The last should never be saved in the registry.

    • icedterminal
      link
      fedilink
      English
      139 months ago

      You’d be surprised to learn then that a lot of software does this shit.

        • icedterminal
          link
          fedilink
          English
          59 months ago

          It can be very stupid. Depends on the software though as the registry is meant for saving user and system settings to a degree. Like Windows File Explorer makes perfect sense. As does settings for audio.

          It’s generally advised to not bloat the registry wherever possible. WinSCP is a great piece of software. Unfortunately it defaults to saving to the user registry. You can change it to save to an ini file instead. By using the registry to save settings it can be jarring for the user when they’re trying to troubleshoot something. Only to find out after uninstalling and reinstalling it doesn’t start over fresh. Or if they’re trying to backup settings and data to restore with later. The registry isn’t typically included for good reason.