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

IconManager.SetIconForObject throws Null Ref Exception in Unity2021.2 or newer, since Unity has made this internal method public : ) #4

Closed
echoMikeO opened this issue Mar 29, 2023 · 0 comments
Assignees

Comments

@echoMikeO
Copy link

As the title said, Unity has made EditorGUIUtility.SetIconForObject public since 2021.2 (I only checked their C# repository though. No guarantee if they changed this in the beginning of 2021.2 or in a later smaller version update).

Now we can just call EditorGUIUtility.SetIconForObject. You might want to make the asset compatible to newer version.
It caught me by surprise when I first updated my project to 2021.3.

And thanks a lot for this sweet little asset : ). I've used it since 2021.

@Thundernerd Thundernerd self-assigned this Mar 29, 2023
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

2 participants