Search Unity

Mobile Build Report package

Discussion in 'Editor & General Support' started by YuriyPopov, Dec 18, 2019.

  1. YuriyPopov

    YuriyPopov

    Joined:
    Sep 5, 2017
    Posts:
    237
    So I just found the mobile build report package in the package manager. I'm on unity 2019.3.0f1. So I installed it and decided to give a try but it is throwing an File not found exception from MobileBuildReportHelper.cs.
    This is the whole error :

    Code (CSharp):
    1. FileNotFoundException: Could not find file "C:\Users\UserName\AppData\Local\Temp\f33087cf-b43d-4d23-9d8b-7181c681dca2\globalgamemanagers.assets"
    2. System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <437ba245d8404784b9fbab9b439ac908>:0)
    3. System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <437ba245d8404784b9fbab9b439ac908>:0)
    4. (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    5. System.IO.File.Open (System.String path, System.IO.FileMode mode) (at <437ba245d8404784b9fbab9b439ac908>:0)
    6. Unity.Mobile.BuildReport.MobileBuildReportHelper.EstimateAssetSize (Unity.Mobile.BuildReport.MobileBuildReportAssetPack assetPack, Unity.Mobile.BuildReport.MobileBuildReportAssets mobileAssets, System.String artifactDir) (at Library/PackageCache/com.unity.mobile.buildreport@0.1.1-preview/Editor/MobileBuildReportHelper.cs:109)
    7. Unity.Mobile.BuildReport.MobileBuildReportHelper.CollectArchiveData (System.String buildPath, Unity.Mobile.BuildReport.MobileBuildReport& report, Unity.Mobile.BuildReport.MobileBuildReportBuildInfo buildInfo) (at Library/PackageCache/com.unity.mobile.buildreport@0.1.1-preview/Editor/MobileBuildReportHelper.cs:100)
    8. Unity.Mobile.BuildReport.MobileBuildReportHelper.Generate (System.String buildPath, System.String outputPath) (at Library/PackageCache/com.unity.mobile.buildreport@0.1.1-preview/Editor/MobileBuildReportHelper.cs:33)
    9. Unity.Mobile.BuildReport.UI.MobileBuildReportEditorWindow.OnGUI () (at Library/PackageCache/com.unity.mobile.buildreport@0.1.1-preview/Editor/MobileBuildReportEditorWindow.cs:33)
    10. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    11. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    12. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    13. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
    14. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <3b74787e58694cdda2c241162159b3b7>:0)
    15. UnityEditor.HostView.Invoke (System.String methodName) (at <3b74787e58694cdda2c241162159b3b7>:0)
    16. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <3b74787e58694cdda2c241162159b3b7>:0)
    17. UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <3b74787e58694cdda2c241162159b3b7>:0)
    18. UnityEditor.DockArea.OldOnGUI () (at <3b74787e58694cdda2c241162159b3b7>:0)
    19. UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <3b395df51d304a2aba4944c11905c08f>:0)
    20. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean canAffectFocus) (at <3b395df51d304a2aba4944c11905c08f>:0)
    21. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <3b395df51d304a2aba4944c11905c08f>:0)
    22. UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <3b395df51d304a2aba4944c11905c08f>:0)
    23. UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <3b395df51d304a2aba4944c11905c08f>:0)
    24. UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <3b395df51d304a2aba4944c11905c08f>:0)
    25. UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3b395df51d304a2aba4944c11905c08f>:0)
    26. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3b395df51d304a2aba4944c11905c08f>:0)
    27. UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <3b395df51d304a2aba4944c11905c08f>:0)
    28. UnityEngine.UIElements.EventDispatcher.OpenGate () (at <3b395df51d304a2aba4944c11905c08f>:0)
    29. UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <3b395df51d304a2aba4944c11905c08f>:0)
    30. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3b395df51d304a2aba4944c11905c08f>:0)
    31. UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3b395df51d304a2aba4944c11905c08f>:0)
    32. UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3b395df51d304a2aba4944c11905c08f>:0)
    33. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <3b395df51d304a2aba4944c11905c08f>:0)
    34. UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <3b395df51d304a2aba4944c11905c08f>:0)
    35. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <59837000ebf54955a9cb1d31caa86097>:0)
    So has anyone tried it and made it work ?