Strange behavior of model texture after sprite is created

Model’s texture is changed after sprite/label is created.

Steps to reproduce the behavior:

  1. Create model dynamically
  2. Set material
  3. Set texture
  4. Set position
  5. Set scale
  6. Create sprite dynamically

Expected behavior
Model’s view shouldn’t changed.

Defold version:

  • Version 1.2.168

Platforms (REQUIRED):

  • Platforms: run from editor
  • OS: Windows 10
  • Device: -

Minimal repro case project:
ModelBug.zip (358.9 KB)

2 Likes