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

3D tex sometimes switches to a different 3D tex (build only) #6

Open
robosoup2 opened this issue Aug 12, 2024 · 1 comment
Open

3D tex sometimes switches to a different 3D tex (build only) #6

robosoup2 opened this issue Aug 12, 2024 · 1 comment

Comments

@robosoup2
Copy link

robosoup2 commented Aug 12, 2024

In a build of our game, you can reproduce (SOMETIMES?) by doing the following:

  • instantiate a new 3dtex brush (just one)
  • instantiate another; the previous 3dTex brush starts using the 3dTex from the new prefab.
  • if 3Dtex "A" has more than one copy in the renderer (for example, if I had placed 2 t rex heads) then the issue won't occur

Video:
https://streamable.com/bfp4pw

let me know if there's anything I can do to help debug this 🙏

(mudbun 1.5.47, unity 2021.3.34f1)

@robosoup2
Copy link
Author

I finally encountered the issue in editor, which must be very rare compared to build
I was able to peek and see that the correct SDF was still assigned in the inspector, even while it was using the incorrect one in reality

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

1 participant