Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  5. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Prefab Bug with SpriteRenderer

Discussion in 'Prefabs' started by TommySKD, Dec 13, 2018.

  1. TommySKD


    Jul 23, 2014
    I think this is a bug, or possibly but im not sure why by design? I don't remember if it acted like this before

    This is a SpriteRenderer on some Prefab instance,
    and I changed all the properties to something else than their prefab value, so normally they should all be in bold right now (and the very tiny blue line on the left that shows changes from original shouldn't have any gap)
    But as you can see it does not work for Material and Sorting Layer

    I checked meshrenderer to compare and it does register the material (well it is a list of materials) changes as normal. And while for SpriteRenderer it doesn't work on sorting layer, it does work on.. order in layer? So yea not much sense has to be a bug I think

    It does behave a bit weird like if after this I go in Prefab mode and change the original material, it won't change this one instance material as if it was "in bold" but it is not in bold which means I don't get to see the Apply/Revert option on it anywhere (so you HAVE to change material/sorting layer in prefab mode) along with more obscure annoying things going wrong with scripting etc.

    bugs on empty project 2018.3.0f1
    Last edited: Dec 13, 2018
  2. Peter77


    QA Jesus

    Jun 12, 2013
    Could you please submit a bug-report, as described in this document:

    After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post this Case number here (in this forum thread) for Unity staff to pick up.