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

[BUG] Editor crash when Texture Shape is set to 2D Array #46

Open
TomasKiniulis opened this issue Mar 25, 2022 · 0 comments
Open

[BUG] Editor crash when Texture Shape is set to 2D Array #46

TomasKiniulis opened this issue Mar 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@TomasKiniulis
Copy link

What happened?
Silent editor crash occurs with the following:
StackOverflowException: The requested operation caused a stack overflow.
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
at Mixture.MixtureEditor.RequiresConstantRepaint () [0x00000] in D:\Github\hdrp-scenario-test-ut\scenario-test-ut\Packages\com.alelievr.mixture\Editor\Graph\MixtureInspector.cs:198
...

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project with mixture package added
  2. Import a texture
  3. Set size to 4k (might still repro without 4k)
  4. Select Apply
  5. Observe the editor crash

Setup:

  • OS: Windows
  • Unity Version: 2022.2.0a9
  • Mixture Version [0.4.0]

Additional informations
Exact texture with repro: https://drive.google.com/file/d/19SNbw2PQmnCbxsFvLuehBrM2d-V0tEGX/view?usp=sharing

Note that after editor is reopened and once texture is selected editor crashes again.

@TomasKiniulis TomasKiniulis added the bug Something isn't working label Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants