Can't delete tracks from any cutscenes under 2018.3

Slate Forums Support Can't delete tracks from any cutscenes under 2018.3

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1844
    dgoyette
    Participant

    This is easy to reproduce: Tools -> Paradox Notion -> SLATE -> Create new Cutscene. Now try to delete any of the tracks, and I get this error:

    “This track is part of the prefab asset and can not be deleted from within the prefab instance. If you want to delete the track, please open the prefab asset for editing.”

    I’m not editing a prefab, it’s just a cutscene that exists in a Unity scene. And this applies to all tracks, not just the pre-populated tracks. It seems I can’t delete tracks under 2018.3.

    #1847
    Gavalakis
    Keymaster

    Hello!

    This bug has already been fixed and is part of the new version that is sent to the asset store a few days ago. The new version is though still pending review, but it should go live in any day now, maybe even today :).

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #1863
    Breaking Fourth
    Participant

    This is still happening in Slate V 1.9.1

    🙁

    EDIT: Oops, it looks like the logic might be inverted:

    If I’m not mistaken, this function (which sounds like it’s trying to determine if an object is SAFE to delete) is actually finding out whether the game object is part of a prefab, and therefore is UNSAFE to delete. Therefore, the function should be changed to something like IsUnsafePrefabDelete, and the logic where it gets called should be flipped?

    EDIT 2: The above change seems to fix the issue.

    #1864
    spinalcord
    Participant

    hey Breaking Fourth thanks, this seems to work. I would also change the line with

    #if UNITY_2018_3_OR_NEWER

    to

    #if UNITY_2018_3_OR_NEWER && UNITY_EDITOR

    to prevent build errors.

    #1873
    Breaking Fourth
    Participant

    Hey @Gavalakis, think you could double-check this?

    #1874
    Gavalakis
    Keymaster

    Hey,
    Sorry for the late reply!
    Yes, using #if UNITY_2018_3_OR_NEWER && UNITY_EDITOR is correct.

    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.