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

When "UI-Effect.mat" is created automatically, Unity hangs up. #126

Closed
shirou-take opened this issue Sep 5, 2018 · 6 comments
Closed

When "UI-Effect.mat" is created automatically, Unity hangs up. #126

shirou-take opened this issue Sep 5, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@shirou-take
Copy link

Hi.

When GetOrGenerateMaterialVariant () in MaterialResolver.cs is executed without UI-Effect.mat, AssetDatabase.CreateAsset () fails and Unity hangs up.

1.Create New Project in UnityEditor.(Unity2018.2.5f1)
2.Import UIEffect.unitypackage(v2.8.1)
3.Remove /Assets/Coffee/UIExtensions/UIEffect/Materials/UI-Effect.mat
4.Load /Assets/Coffee/UIExtensions/UIEffect/Demo/UIEffec_Demo.unity
5.Unity hangs up

I have a log, should I paste it?

@mob-sakai
Copy link
Owner

Hi @shirou-take

Wow, thank you for finding the bug!
Please paste the log:)

@mob-sakai mob-sakai added the bug label Sep 5, 2018
@mob-sakai mob-sakai self-assigned this Sep 5, 2018
@mob-sakai mob-sakai added this to the v2.8.2 milestone Sep 5, 2018
@shirou-take
Copy link
Author

Hi @mob-sakai

This is a log when it hangs up
Editor.zip

This log was advanced according to the procedure, and the part where the last error is repeated indefinitely is omitted.

The last error(stack trace) is repeated indefinitely.

@mob-sakai
Copy link
Owner

Thunks a lot!

@mob-sakai
Copy link
Owner

This issue is reproduced in Unity2017.x or above.
It is a little fussy, but I will fix it with v3.0.0.

Solution for this issue

If you encounter this issue, please try the following steps:

  1. Delete UIEffect directory (Assets/Coffee/UIExtensions/UIEffect or Assets/UIEffect).
  2. reinstall UIEffect.unitypackage from releases.

@shirou-take
Copy link
Author

Hi @mob-sakai
I am glad that you can fix it!
I am waiting for v3.0.0.

@mob-sakai mob-sakai modified the milestones: v2.8.2, v3.0.0 Sep 15, 2018
@mob-sakai
Copy link
Owner

mob-sakai commented Sep 23, 2018

Due to the delay in the v3.0.0 release, this bug will be fixed in v2.8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants