Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. 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.

Project Tiny Build Error

Discussion in 'Project Tiny' started by tarik16, Dec 6, 2021.

  1. tarik16

    tarik16

    Joined:
    Jan 26, 2017
    Posts:
    2
    Hi, I am trying to create a simple project using Project Tiny, but it gives an error while getting the build.

    Unity version: 2020.1.10f1 (Tested 2020.2.7f1 and 2020.3.9f1)

    OS: MacOS

    SS:
    upload_2021-12-6_16-52-11.png

    Dependencies:
    upload_2021-12-6_16-54-8.png


    Build DotsRuntimeBuildConfiguration failed after 3.38s.
    Process terminated. Infinite recursion during resource lookup within System.Private.CoreLib. This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: Arg_AccessViolationException
    at System.Environment.FailFast(System.String)
    at System.SR.InternalGetResourceString(System.String)
    at System.SR.GetResourceString(System.String, System.String)
    at System.AccessViolationException..ctor()
    at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(System.Reflection.MetadataToken, System.Reflection.MetadataImport ByRef, System.Reflection.RuntimeModule, System.Reflection.MetadataToken, System.RuntimeType, Boolean, ListBuilder`1<System.Object> ByRef, System.RuntimeType ByRef, System.IRuntimeMethodInfo ByRef, Boolean ByRef, Boolean ByRef)
    at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1<System.Object> ByRef, System.Reflection.RuntimeModule, Int32, System.RuntimeType, Boolean, ListBuilder`1<System.Object>)
    at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeModule, Int32, Int32, System.RuntimeType)
    at System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType)
    at System.Reflection.RuntimeAssembly.GetCustomAttributes(System.Type, Boolean)
    at System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, Boolean)
    at System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, Boolean)
    at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Reflection.Assembly)
    at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(System.Reflection.Assembly, System.Resources.UltimateResourceFallbackLocation ByRef)
    at System.Resources.ResourceManager.CommonAssemblyInit()
    at System.Resources.ResourceManager..ctor(System.Type)
    at System.SR.get_ResourceManager()
    at System.SR.InternalGetResourceString(System.String)
    at System.SR.GetResourceString(System.String, System.String)
    at System.AccessViolationException..ctor()
    at System.Collections.Generic.Dictionary`2[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryGetValue(System.__Canon, System.__Canon ByRef)
    at System.AppContext.GetData(System.String)
    at System.AppContext.get_BaseDirectory()
    at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(System.Collections.Generic.IEnumerable`1<System.String>, Microsoft.CodeAnalysis.CommandLine.RequestLanguage, Microsoft.CodeAnalysis.CommandLine.CompileFunc)
    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(System.String[])
    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(System.String[])
    *** buildprogrambuildprogram build failed (0.18 seconds), 1 items updated, 7 evaluated

    UnityEngine.Debug:LogError(Object, Object)
    Unity.Build.ResultBase:LogResult() (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/ResultBase.cs:65)
    Unity.Build.Editor.<>c:<.cctor>b__34_0(BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:42)
    Unity.Build.Editor.<>c__DisplayClass30_0:<Build>b__1() (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:128)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)


    Thanks.
     
  2. tarik16

    tarik16

    Joined:
    Jan 26, 2017
    Posts:
    2
    new error on windows;


    Code (CSharp):
    1. Build DotsRuntimeBuildConfiguration failed after 4.33s.
    2. Error opening for writing the file: artifacts\lib_unity_tiny_ıo\newassembly-dotsruntimebuildconfiguration\_dummy_for_header_discovery, error: No such file or directory
    3. [ 24/778    0s] WriteText artifacts/lib_unity_tiny_ıo/newassembly-dotsruntimebuildconfiguration/lib_unity_tiny_ıo.dll.dummy.def
    4. ##### CommandLine
    5. EXPORTS
    6. ##### ExitCode
    7. 1
    8. ##### Output
    9. Error opening for writing the file: artifacts\lib_unity_tiny_ıo\newassembly-dotsruntimebuildconfiguration\lib_unity_tiny_ıo.dll.dummy.def, error: No such file or directory
    10. [ 29/778    0s] WriteText artifacts/lib_unity_tiny_ımage2d_native/newassembly-dotsruntimebuildconfiguration/_dummy_for_header_discovery
    11. ##### CommandLine
    12. //dummy for header discovery
    13. ##### ExitCode
    14. 1
    15. ##### Output
    16. Error opening for writing the file: artifacts\lib_unity_tiny_ımage2d_native\newassembly-dotsruntimebuildconfiguration\_dummy_for_header_discovery, error: No such file or directory
    17. [ 29/778    0s] WriteText artifacts/lib_unity_tiny_ımage2d_native/newassembly-dotsruntimebuildconfiguration/lib_unity_tiny_ımage2d_native.dll.dummy.def
    18. ##### CommandLine
    19. EXPORTS
    20. ##### ExitCode
    21. 1
    22. ##### Output
    23. Error opening for writing the file: artifacts\lib_unity_tiny_ımage2d_native\newassembly-dotsruntimebuildconfiguration\lib_unity_tiny_ımage2d_native.dll.dummy.def, error: No such file or directory
    24. *** Bee build failed (0.67 seconds), 9 items updated, 29 evaluated
    25.  
    26. UnityEngine.Debug:LogError(Object, Object)
    27. Unity.Build.ResultBase:LogResult() (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/ResultBase.cs:65)
    28. Unity.Build.Editor.<>c:<.cctor>b__34_0(BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:42)
    29. Unity.Build.Editor.<>c__DisplayClass30_0:<Build>b__1() (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:128)
    30. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
     
  3. Goularou

    Goularou

    Joined:
    Oct 19, 2018
    Posts:
    54