Editor GUI problem.

Hi. Instead of reporting the actual exception with stack trace. Now all the exception for Editor GUI is reported like below. It’s difficult to debug. I’m not sure whether the change is caused by .net 4.6 support.
Any way to show the correct stack trace?

I confirm that it’s caused by the .net 4.6 support. I change it back to 3.5. And it shows the correct stack trace.
But some of my library require .net 4.6 support. Any way to ease the editor gui developement with .net 4.6 support?

This looks like a bug in the way that the Unity editor is process exception stack traces. Can you submit a bug report and include the project that causes this? We would love to investigate it.

Thank you. I just submitted a bug report for it. Because my project is private. So I create a simple enough reproducing project and attached to the bug report.

And also I attached the different stack trace between .NET 4.6 and .NET 3.5.

Here’s the issue tracking number Case 905225.

Thanks, we will investigate this issue.

Thank you. This issue make me development for editor extension difficultly. I really would like to see it fixed in the next version. Or I must split my project into two parts. One for editor and one for 4.6. And it’s difficult to develop them together.

Hello, this has been fixed and will be available in a future version of 2017.1. You can see status for issue here: Unity Issue Tracker - Editor GUI stack trace is wrapped by the editor in .NET 4.6

Is it fixed for b3? It seems that it’s not.

@Seto1

We missed the internal 2017.1b3 cut-off with this fix. It will be fixed in 2017.1b4 though.