Closed fabolhak closed 6 years ago
Hello fabolhak, I see the issue.
In Unity 2018.1.8f1 GUIClip.visibleRect
is public but in 2018.2 is internal.
Your solution works in both cases but I tested mine only in 2018.2.
The only issue with yours is that allocates memory every time get visibleRect
is called because is creating a delegate every time.
I'll merge your changes and then move what you have done in a static initializer.
Thanks for the help!
Hello, thank you for your feedback. The changes introduced in https://github.com/steve3003/unity-profiler-data-exporter/commit/0c9f20437479283e215a513f7c371b25b55018c0 were automatically created by the Unity API Updater. However, your proposal is definitely cleaner.
I tried the second change you requested. Unfortunately, this doesn't fix the problem I initially had. With Unity 2018.1.8f1 and your suggestions I get the following errors:
Unfortunately, my C# and Unity API knowledge is too limited to understand the error.