Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Bug Build error with multithreading

Discussion in 'Project Tiny' started by djsell, Dec 10, 2020.

  1. djsell


    Aug 29, 2013
    If I try to build with macOS .NET build target with Release configuration and multithreading enabled, I get a build error.

    If I try to build with multithreading disabled in Release, it works.
    If I try to build with multithreading enabled in Debug, it works.

    Build Mac-Dotnet-Release failed after 21.08s.
    /Users/dsell/projects/tiny3d-2d/Library/PackageCache/com.unity.dots.runtime@0.31.0-preview.24/LowLevelSupport~/Unity.ZeroJobs/Unity.Jobs.LowLevel.cs(320,13): error CS0103: The name 'AtomicSafetyHandle' does not exist in the current context
    /Users/dsell/projects/tiny3d-2d/Library/PackageCache/com.unity.dots.runtime@0.31.0-preview.24/LowLevelSupport~/Unity.ZeroJobs/Unity.Jobs.LowLevel.cs(329,17): error CS0103: The name 'AtomicSafetyHandle' does not exist in the current context
    *** Bee build failed (2.33 seconds), 29 items updated, 337 evaluated

    UnityEngine.Debug:LogError(Object, Object)
    Unity.Build.ResultBase:LogResult() (at Library/PackageCache/com.unity.platforms@0.9.0-preview.9/Editor/Unity.Build/ResultBase.cs:60)
    Unity.Build.Editor.<>c:<.cctor>b__29_1(BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.9.0-preview.9/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:45)
    Unity.Build.Editor.<>c__DisplayClass25_0:<Build>b__0() (at Library/PackageCache/com.unity.platforms@0.9.0-preview.9/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:106)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
  2. AbdulAlgharbi


    Unity Technologies

    Jul 27, 2018
    This has been fixed in Tiny 0.32 and just FYI the multithreading feature is still expermintal
  3. djsell


    Aug 29, 2013
    Great. Thanks!