Search Issue Tracker

Not Reproducible

Votes

1

Found in

5.4.0b19

Issue ID

805871

Regression

No

Upgrading from 5.4.0b19 to 5.4.0b22 sets all Sprite Renderer materials to none

Asset Import

-

Reproduction steps:

1) Create new project in 5.4.0b19
2) Create new GameObject
3) Attach Sprite Renderer to it.
4) Set Sprite Renderer property Material to Sprites-Default
5) Save scene
6) Relaunch project in 5.4.0b22
7) Open GameObject you just created. Notice that Sprite Renderer property Material is set to None.

Expected behavior: all materials remain the same.
Actual behavior: all materials in project are set to None.

Note: If you set material in 5.4.0b19 as Default-Material in won't be reseted when project is launched with 5.4.0b22

Comments (3)

  1. MPM

    Jun 16, 2016 21:38

    Update:
    It appears that the test project
    (
    1. New Project
    2.GameObject > 2D Object Sprite > Sprite
    3. Set sprite with Background
    4. Save Scene and Project
    )
    created on 5.4b18 is broken (materials set to "None") even if reopened on 5.4b18 (immediately after creation, or later)

    My current working project, saved under 5.4b18 but created on 4.6 and that has gone through 5.3 and several 5.4bxx:
    - Is saved/opened OK on 5.4b18
    - Have its "Sprite Renderer" (in Scenes and Prefabs) materials set to "None" if opened on 5.4b21

  2. MPM

    Jun 16, 2016 21:31

    Update:
    It appears that the test project
    (
    1.GameObject > 2D Object Sprite > Sprite
    2. Set sprite
    3. Save Scene and Project
    )
    created on 5.4b18 is broken even if reopened on 5.4b18 (immediately after creation or later)

    My current working project, savec under 5.4b18 but created on 4.6 (

  3. MPM

    Jun 16, 2016 18:19

    1. I have the same problem but with test project created in 5.4b18 and opened in 5.4b21 (5.4b22 is not avail. to me)
    2. Note that this issue is similar to #801646 (tagged as fixed)
    3. I've searched the issue tracker with "sprite renderer none" terms and it did not return this at expected.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.