Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Unity is setting up worker threads for Enlighten when all lighting is disabled

Discussion in 'Editor & General Support' started by Acelondoner, Jun 19, 2020.

  1. Acelondoner

    Acelondoner

    Joined:
    Jul 27, 2012
    Posts:
    101
    Hello all. I see in my player logfile:

    Setting up 3 worker threads for Enlighten.
    Thread -> id: 2728 -> priority: 1
    Thread -> id: 37f8 -> priority: 1
    Thread -> id: 2bd4 -> priority: 1

    I have all lighting settings disabled. Is this normal behavior or a bug? I'm using 2019 LTS.

    Cheers, Dan.
     
    Last edited: Jun 19, 2020
    Dalton-Lima likes this.
  2. dhtpdud528

    dhtpdud528

    Joined:
    Apr 8, 2018
    Posts:
    14
    same here.

    Have you solved this problem?
     
  3. bfoddy

    bfoddy

    Joined:
    Mar 27, 2012
    Posts:
    85
    Same issue here
     
  4. Only4gamers

    Only4gamers

    Joined:
    Nov 8, 2019
    Posts:
    311
    Seeing this error in Unity 2020.3.47f1
    Code (CSharp):
    1.  
    2. Setting up 2 worker threads for Enlighten.
    3.   Thread -> id: 19dc -> priority: 1
    4.   Thread -> id: 2270 -> priority: 1
    5. �����������
    6. Unable to save data due to: Sharing violation on path C:\Users\Pomelo\AppData\LocalLow\Only4Gamers\Space Menace\sectors-visited.json   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001b7] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
    7.   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
    8.   at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
    9.   at System.IO.File.Create (System.String path, System.Int32 bufferSize) [0x00000] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
    10.   at System.IO.File.Create (System.String path) [0x00000] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
    11.   at JsonDataService.SaveData[T] (System.String RelativePath, T Data, System.Boolean Encrypted) [0x0001a] in <1de1f192d91845fb89bc75125ed3f60a>:0
    12.