fxnai / fxn3d

Run Python functions in Unity3D. https://fxn.ai/explore
https://docs.fxn.ai
Apache License 2.0
6 stars 4 forks source link

OnPostGenerateGradleAndroidProject download request prevents patching android builds #4

Closed mutmedia closed 3 months ago

mutmedia commented 3 months ago

full trace:

WebException: The request was aborted: The request was canceled.
System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) (at <448a66bf9b31494bbd3f742f998b818b>:0)
System.Net.WebConnectionStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) (at <448a66bf9b31494bbd3f742f998b818b>:0)
System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) (at <7e05db41a20b45108859fa03b97088d4>:0)
System.IO.Stream.CopyTo (System.IO.Stream destination) (at <7e05db41a20b45108859fa03b97088d4>:0)
(wrapper remoting-invoke-with-check) System.IO.Stream.CopyTo(System.IO.Stream)
Function.Editor.Build.AndroidBuildHandler.UnityEditor.Android.IPostGenerateGradleAndroidProject.OnPostGenerateGradleAndroidProject (System.String projectPath) (at Library/PackageCache/ai.fxn.fxn3d@0.0.22/Editor/Build/AndroidBuildHandler.cs:98)
UnityEditor.Android.AndroidBuildPipelineInterfaces.OnGeneratePlatformProjectPostprocess (System.String path, System.Boolean strict) (at <06837d428b6d46f581d93f9597703696>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

only fails to create a build when using "patch" or "patch and run", otherwise seems to be failing silently.

olokobayusuf commented 3 months ago

@mutmedia working on a fix for this. Hopefully the fix should get released later today.