Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

BoneRenderer breaks prefab workflow

Discussion in 'Animation Previews' started by bilbaeno, Apr 23, 2019.

  1. bilbaeno

    bilbaeno

    Joined:
    Dec 13, 2012
    Posts:
    4
    I've submitted a bug report already, but I wanted to make a blog post in case anyone else is encountering this problem and can't figure out why.

    Right now, if you have a BoneRenderer attached to a prefab, when you open the prefab there are a number of rendering issues.

    1. The prefab always loads on top of the current open scene. Even if you open it from the project window. However lighting is not present, so the Scene Lighting option needs to be toggled in order to see your prefab.
    2. Meshes render in the wrong location or not at all.
    Occasionally the BoneRenderer will throw a warning that is has been disabled in Play Mode despite it's [ExecuteInEditor] attribute.

    Removing the script fixes the prefab.
     
  2. davehunt_unity

    davehunt_unity

    Unity Technologies

    Joined:
    Nov 13, 2017
    Posts:
    32
    Hi AdamBilbaeno,

    Thanks for the bug report. Our developers have taken a look at it but are having a hard time reproducing your issues. Is there a generic test scene you could share with us to demonstrate the problem?