FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.51k stars 341 forks source link

"Make Unique" Breaks the Model #459

Closed IceGuye closed 1 year ago

IceGuye commented 1 year ago

Version: Latest Git master branch (After merging the new inheritance system) OS: Fedura 38 Gnome (Xorg) How to reproduce:

  1. Import or Prefab a model with materials.
  2. Edit the materials by adding or changing some texture, adjust some colors, etc..
  3. Press "Make Unique".
  4. Save the rgs.
  5. Go to your game scene or open the rgs.
  6. Open the rgs multiple time can make even weirder thing.

More details, please watch this video: https://github.com/FyroxEngine/Fyrox/assets/7291463/fcc9e9e5-f75d-4b02-bbc8-0e82cb44c948