Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheLazyIndianTechie opened this issue May 29, 2024 · 0 comments

Comments

@TheLazyIndianTechie
Copy link

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/com.google.android.performancetuner@2.0.0/Editor/Scripts/FileUtil.cs:59)
Google.Android.PerformanceTuner.Editor.Initializer..cctor () (at ./Library/PackageCache/com.google.android.performancetuner@2.0.0/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/com.google.android.performancetuner@2.0.0/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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant