NodeCanvas Forums › Support › unity2017.4.17f1 android build error :Failed to write file: resources.assets › Reply To: unity2017.4.17f1 android build error :Failed to write file: resources.assets
Hi,
I have the same Problem since I updated my Nodecanvas 3 days ago. My Project is on Unity 5.66 and I build to Windows64.
The StyleSheetDark.asset and StyleSheetLight reside in and Editor:Resources Folder– it seems Unity then assumes the files are regular Resources files that it should include—
Thanks for your great work, I love Nodecanvas (and FlowCanvas)
here is the whole error:
An asset is marked with HideFlags.DontSave but is included in the build:
Asset: ‘Assets/ParadoxNotion/CanvasCore/Framework/Design/Editor/Resources/StyleSheet/StyleSheetDark.asset’
(You are probably referencing internal Unity data in your build.)
0x00000001402E16F6 (Unity) BuildPlayer
0x0000000141314F31 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000000051DD2847 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool)
0x0000000051DD09B5 (Mono JIT Code) [BuildPlayerWindow.cs:485] UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings (bool,UnityEditor.BuildOptions,bool)
0x0000000051DCF019 (Mono JIT Code) [BuildPlayerWindow.cs:339] UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings (bool,UnityEditor.BuildOptions)
0x0000000051DC9461 (Mono JIT Code) [BuildPlayerWindow.cs:1390] UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.BuildPlayerWindow/BuildPlatform)
0x0000000051DBCB43 (Mono JIT Code) [BuildPlayerWindow.cs:1317] UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000000051DA5C47 (Mono JIT Code) [BuildPlayerWindow.cs:913] UnityEditor.BuildPlayerWindow:OnGUI ()
0x000000000B8ED142 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFDBFD05CDF (mono) [mini.c:4937] mono_jit_runtime_invoke
0x00007FFDBFC58499 (mono) [object.c:2623] mono_runtime_invoke
0x00007FFDBFC5E9A7 (mono) [object.c:3838] mono_runtime_invoke_array
0x00007FFDBFC1CE3F (mono) [icall.c:2750] ves_icall_InternalInvoke
0x000000000B8A0A97 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
0x000000000B89EBF2 (Mono JIT Code) [MonoMethod.cs:222] System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x00000000343D7CDF (Mono JIT Code) [MethodBase.cs:115] System.Reflection.MethodBase:Invoke (object,object[])
0x00000000433EF7D5 (Mono JIT Code) [HostView.cs:262] UnityEditor.HostView:Invoke (string,object)
0x00000000433EF677 (Mono JIT Code) [HostView.cs:255] UnityEditor.HostView:Invoke (string)
0x0000000051DA43A2 (Mono JIT Code) [HostView.cs:84] UnityEditor.HostView:OnGUI ()
0x000000000B8ED142 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFDBFD05CDF (mono) [mini.c:4937] mono_jit_runtime_invoke
0x00007FFDBFC58499 (mono) [object.c:2623] mono_runtime_invoke
0x000000014107DC85 (Unity) scripting_method_invoke
0x0000000141073541 (Unity) ScriptingInvocation::Invoke
0x0000000140D18573 (Unity) MonoBehaviourDoGUI
0x0000000140D0B030 (Unity) IMGUIModule::MonoBehaviourDoGUI
0x00000001414C1BCD (Unity) MonoBehaviour::DoGUI
0x00000001417FF293 (Unity) GUIView::OnInputEvent
0x000000014008F4B3 (Unity) GUIView::ProcessInputEvent
0x00000001417FAC63 (Unity) GUIView::ProcessEventMessages
0x0000000141800D35 (Unity) GUIView::GUIViewWndProc
0x00007FFE0CAE6D41 (USER32) CallWindowProcW
0x00007FFE0CAE6713 (USER32) DispatchMessageW
0x00000001418195C9 (Unity) CrashCallback
0x000000014181B1B4 (Unity) WinMain
0x0000000141B06734 (Unity) strnlen