Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Unable to load player prefs issue on linux image

Discussion in 'Linux' started by AhmedMansyPR, Mar 5, 2023.

  1. AhmedMansyPR

    AhmedMansyPR

    Joined:
    Dec 28, 2021
    Posts:
    9
    I built a unity game that I run on a docker container using command line.
    everything was working fine with a version I made 6 month ago. After a lot of features and update I tried to use the latest one on the docker but I get this error
    Code (CSharp):
    1. Preloaded 'lib_burst_generated.so'
    2. Preloaded 'libdracodec_unity.so'
    3. Preloaded 'libdracoenc_unity.so'
    4. Preloaded 'libktx_unity.so'
    5. Display 0 '0': 1024x1024 (primary device).
    6. Unable to load player prefs
    7. Desktop is 1024 x 1024 @ 0 Hz
    The game is not even running, the docker file is the same as before
    what could be the issue here?
     
  2. Baptiste_flv

    Baptiste_flv

    Joined:
    Aug 11, 2021
    Posts:
    1
    Hi, got the same error here. Did you find the issue?
     
  3. delete-elf

    delete-elf

    Joined:
    Aug 8, 2022
    Posts:
    2
    got the same error here.
    hdrp project,use 2022.2.11f1 build,and deploy on ubuntu20.04 is working fine.
    but use 2022.2.21f1,2022.3.0f1,2022.3.1f1 to build,deploy then report this error
     
  4. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    97
    would love to take a look at it if you could help file a bug.