-
Notifications
You must be signed in to change notification settings - Fork 33
Description
This tool run into error when i try a sample by Untiy 2019.4.25f1.
How to fix this erro?
Thanks,
repro:
- export profiler data into a data file by unity profiler window.
- open tool by Unity menu -> Tools -> UTJ -> ProfilerReader -> AnalyzerToCSV.
- click File button of UTJ tool to load the data file.
- click Analyze button of UTJ tool.
- Error is show in console of unity editor.
System.OutOfMemoryException: Out of memory
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at System.Collections.Generic.List`1[T]..ctor (System.Int32 capacity) [0x00021] in :0
at UTJ.ProfilerReader.BinaryData.ThreadData.Read_Generic (System.IO.Stream stream, System.UInt32 version) [0x0003d] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerFrameData.ReadGeneric (System.IO.Stream stream, System.Int32 frameSize, System.Int32 threadCount, System.Int32 index, System.UInt32 version) [0x00301] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerFrameBlockData.Read (System.IO.Stream stream, System.Int32 frameIndex, System.String unityVersion) [0x0017e] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.BinaryData.ProfilerBinaryLogReader.ReadFrameData () [0x00064] in <1c5044780f334353961706bdd82cf261>:0
at UTJ.ProfilerReader.UI.AnalyzeToCsvWindow.ExecuteFrame () [0x00018] in D:\dd\New Unity Project\Packages\ProfilerReader\Editor\GUI\AnalyzeToCsvWindow.cs:80
UnityEngine.Debug:LogError (object)
UTJ.ProfilerReader.UI.AnalyzeToCsvWindow:ExecuteFrame () (at Packages/ProfilerReader/Editor/GUI/AnalyzeToCsvWindow.cs:115)
UTJ.ProfilerReader.UI.AnalyzeToCsvWindow:UpdateThread () (at Packages/ProfilerReader/Editor/GUI/AnalyzeToCsvWindow.cs:66)
System.Threading.ThreadHelper:ThreadStart ()