tuningfork icon indicating copy to clipboard operation
tuningfork copied to clipboard

Creating asset at path Assets/AndroidPerformanceTuner_gen/Runtime/Resources/SetupConfig.asset failed

Open TheLazyIndianTechie opened this issue 1 year ago • 0 comments

While trying to import any version of APT into Unity 2022.3, I constantly get this error: Creating asset at path Assets/AndroidPerformanceTuner_gen/Runtime/Resources/SetupConfig.asset failed

I have tried installing it through:

  1. UnityPackage
  2. Importing .tgz
  3. OpenUPM

The same error is replicated in all methods.

I have even tried creating a new project and the issue persists.

This happens for any version: 1.5.0, 1.5.2, etc.

I have deleted Library files and tried all other troubleshooting methods.

Error Details:

UnityException: Creating asset at path Assets/AndroidPerformanceTuner_gen/Runtime/Resources/SetupConfig.asset failed.
Google.Android.PerformanceTuner.Editor.FileUtil.CreateSetupConfig () (at ./Library/PackageCache/[email protected]/Editor/Scripts/FileUtil.cs:59)
Google.Android.PerformanceTuner.Editor.Initializer..cctor () (at ./Library/PackageCache/[email protected]/Editor/Scripts/Initializer.cs:107)
Rethrow as TypeInitializationException: The type initializer for 'Google.Android.PerformanceTuner.Editor.Initializer' threw an exception.
Google.Android.PerformanceTuner.Editor.AndroidPerformanceTunerWindow.OnGUI () (at ./Library/PackageCache/[email protected]/Editor/Scripts/AndroidPerformanceTunerWindow.cs:138)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEditor.DockArea.OldOnGUI () (at <2acbecbc299e4654adc94df891af51f2>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <65927d60dd5f4df5850222879a8ed9a4>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <641e59e3e2ec4e2e8227279dd28903da>:0)

TheLazyIndianTechie avatar May 29 '24 04:05 TheLazyIndianTechie