Search Unity

AssetDatabase::GetArtifactPaths hash is invalid

Discussion in 'Project Tiny' started by yaxinhoo, Jan 18, 2021.

  1. yaxinhoo

    yaxinhoo

    Joined:
    Sep 29, 2013
    Posts:
    5
    i had a project , i add one build file to build , but i got the errors , i don't know why?


    AssetDatabase::GetArtifactPaths hash is invalid
    UnityEditor.Experimental.AssetDatabaseExperimental:GetArtifactPathsImpl_Injected(Hash128&, Boolean&)
    UnityEditor.Experimental.AssetDatabaseExperimental:GetArtifactPathsImpl(Hash128, Boolean&)
    UnityEditor.Experimental.AssetDatabaseExperimental:GetArtifactPaths(Hash128, String[]&)
    Unity.Scenes.AssetDatabaseCompatibility:GetArtifactPaths(Hash128, String[]&) (at Library\PackageCache\com.unity.entities@0.16.0-preview.21\Unity.Scenes\AssetDatabaseCompatibility.cs:71)
    Unity.Entities.Runtime.Build.BuildStepExportScenes:Run(BuildContext) (at Library\PackageCache\com.unity.dots.runtime@0.31.0-preview.24\Unity.Entities.Runtime.Build\BuildStepExportScenes.cs:72)
    Unity.Build.BuildStepCollection:Run(BuildContext) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildStepCollection.cs:77)
    Unity.Entities.Runtime.Build.DotsRuntimeBuildPipeline:OnBuild(BuildContext) (at Library\PackageCache\com.unity.dots.runtime@0.31.0-preview.24\Unity.Entities.Runtime.Build\DotsRuntimeBuildPipeline.cs:45)
    Unity.Build.BuildProcess:Update() (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildProcess.cs:52)
    Unity.Build.BuildPipelineBase:Build(BuildConfiguration, BuildProgress) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildPipelineBase.cs:84)
    Unity.Build.BuildConfiguration:Build() (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildConfiguration.cs:65)
    Unity.Build.Editor.<>c:<.cctor>b__29_0(BuildConfiguration) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build.Editor\BuildConfigurationInspector.cs:39)
    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.UIElements.Clickable:Invoke(EventBase)
    UnityEngine.UIElements.Clickable:processUpEvent(EventBase, Vector2, Int32)
    UnityEngine.UIElements.Clickable:OnMouseUp(MouseUpEvent)
    UnityEngine.UIElements.EventCallbackFunctor`1:Invoke(EventBase)
    UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEvent(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase(EventBase)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies(EventBase, IPanel, Boolean)
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:processEventQueue()
    UnityEngine.UIElements.EventDispatcher:OpenGate()
    UnityEngine.UIElements.EventDispatcherGate:Dispose()
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode)
    UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode)
    UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel)
    UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&)
    UnityEngine.UIElements.UIEventRegistration:processEvent(Int32, IntPtr)
    UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
    [C:\buildslave\unity\build\Modules/AssetDatabase/Editor/V2/V1Compatibility.cpp line 4287]
    (Filename: Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Scenes/AssetDatabaseCompatibility.cs Line: 71)
    Failed to build EntityScene for 'Assets/Samples/Entity Tween/0.4.1/Stress Test/Scenes/StressTestScene.unity'.
    UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    Unity.Debug:LogError(Object) (at Library\PackageCache\com.unity.entities@0.16.0-preview.21\Unity.Entities\Stubs\Unity\Debug.cs:13)
    Unity.Entities.Runtime.Build.BuildStepExportScenes:Run(BuildContext) (at Library\PackageCache\com.unity.dots.runtime@0.31.0-preview.24\Unity.Entities.Runtime.Build\BuildStepExportScenes.cs:113)
    Unity.Build.BuildStepCollection:Run(BuildContext) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildStepCollection.cs:77)
    Unity.Entities.Runtime.Build.DotsRuntimeBuildPipeline:OnBuild(BuildContext) (at Library\PackageCache\com.unity.dots.runtime@0.31.0-preview.24\Unity.Entities.Runtime.Build\DotsRuntimeBuildPipeline.cs:45)
    Unity.Build.BuildProcess:Update() (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildProcess.cs:52)
    Unity.Build.BuildPipelineBase:Build(BuildConfiguration, BuildProgress) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildPipelineBase.cs:84)
    Unity.Build.BuildConfiguration:Build() (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build\BuildConfiguration.cs:65)
    Unity.Build.Editor.<>c:<.cctor>b__29_0(BuildConfiguration) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build.Editor\BuildConfigurationInspector.cs:39)
    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.UIElements.Clickable:Invoke(EventBase)
    UnityEngine.UIElements.Clickable:processUpEvent(EventBase, Vector2, Int32)
    UnityEngine.UIElements.Clickable:OnMouseUp(MouseUpEvent)
    UnityEngine.UIElements.EventCallbackFunctor`1:Invoke(EventBase)
    UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEvent(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase(EventBase)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies(EventBase, IPanel, Boolean)
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:processEventQueue()
    UnityEngine.UIElements.EventDispatcher:OpenGate()
    UnityEngine.UIElements.EventDispatcherGate:Dispose()
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode)
    UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode)
    UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel)
    UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&)
    UnityEngine.UIElements.UIEventRegistration:processEvent(Int32, IntPtr)
    UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
    (Filename: Library/PackageCache/com.unity.entities@0.16.0-preview.21/Unity.Entities/Stubs/Unity/Debug.cs Line: 13)
    Build <a instanceID="21538">DotsRuntimeBuildConfiguration</a> failed after 225ms.
    Failed to export scenes
    UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object, Object)
    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_0(BuildConfiguration) (at Library\PackageCache\com.unity.platforms@0.9.0-preview.9\Editor\Unity.Build.Editor\BuildConfigurationInspector.cs:39)
    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.UIElements.Clickable:Invoke(EventBase)
    UnityEngine.UIElements.Clickable:processUpEvent(EventBase, Vector2, Int32)
    UnityEngine.UIElements.Clickable:OnMouseUp(MouseUpEvent)
    UnityEngine.UIElements.EventCallbackFunctor`1:Invoke(EventBase)
    UnityEngine.UIElements.EventCallbackRegistry:InvokeCallbacks(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEvent(EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase(EventBase)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies(EventBase, IPanel, Boolean)
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:processEventQueue()
    UnityEngine.UIElements.EventDispatcher:OpenGate()
    UnityEngine.UIElements.EventDispatcherGate:Dispose()
    UnityEngine.UIElements.EventDispatcher:processEvent(EventBase, IPanel)
    UnityEngine.UIElements.EventDispatcher:Dispatch(EventBase, IPanel, DispatchMode)
    UnityEngine.UIElements.BaseVisualElementPanel:SendEvent(EventBase, DispatchMode)
    UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel)
    UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent(Int32, IntPtr, Boolean&)
    UnityEngine.UIElements.UIEventRegistration:processEvent(Int32, IntPtr)
    UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
    (Filename: Library/PackageCache/com.unity.platforms@0.9.0-preview.9/Editor/Unity.Build/ResultBase.cs Line: 60)
     
  2. yaxinhoo

    yaxinhoo

    Joined:
    Sep 29, 2013
    Posts:
    5
    here is my project. 2020.1.0f1
     

    Attached Files:

  3. Zindea

    Zindea

    Joined:
    Mar 8, 2015
    Posts:
    25
    What Project? What file did you add exactly?

    More information please.
     
  4. yaxinhoo

    yaxinhoo

    Joined:
    Sep 29, 2013
    Posts:
    5
    the attach entity.zip is my project, the file asset/build/DotsRuntimeBuildConfiguration.buildconfiguration in the project was my add, i want to build this project use tiny build, but fail.

    the project is a simple Stress Test.
     
  5. unitychuang

    unitychuang

    Joined:
    May 8, 2021
    Posts:
    1
unityunity