Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

Feedback Wrong ModificationEvent for OnModificationGlobal callback when adding addressable ?

Discussion in 'Addressables' started by Ghat-Smith, Mar 24, 2020.

  1. Ghat-Smith


    Aug 16, 2016

    I want to have a different default group for my addressable scenes.
    My idea was to use the OnModificationGlobal callback (or default settings OnModification callback) to detect when a scene is added as addressable to move it manually to my predefined group.

    Problem is that when I check the addressable toggle of an asset, my method receive a callback with ModificationEvent.EntryMoved and not ModificationEvent.EntryAdded or ModificationEvent.EntryCreated.

    Is there a reason why ? This prevent me to make the difference between a new asset added as addressable and an addressable moved to a different group.