Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested prefab upgrade fixes #82

Merged
merged 5 commits into from Dec 1, 2022
Merged

Commits on Nov 17, 2022

  1. Basic DAG implementation

    Not actually being used yet since it needs a chunk of work to integrate cleanly with how I assume prefabs work. The algorithm is theoretically there though.
    MerlinVR committed Nov 17, 2022
    Copy the full SHA
    7c8c374 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Add behaviour dirtying for prefabs

    This was way more annoying to figure out because the API docs for PrefabUtility.GetPropertyModifications() tell you literally nothing of value
    MerlinVR committed Nov 28, 2022
    Copy the full SHA
    a0ed2fa View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Improve DAG

    - Handles prefabs being linked that don't have U# behaviours now
    - Added exception handling that falls back to unsorted prefab set and logs an error in the case of a failure
    - Turned assertions into exceptions because assertions don't give enough info
    MerlinVR committed Nov 29, 2022
    Copy the full SHA
    43c8395 View commit details
    Browse the repository at this point in the history
  2. Explicit names

    Random thing I saw and wanted to make more consistent
    MerlinVR committed Nov 29, 2022
    Copy the full SHA
    98c5657 View commit details
    Browse the repository at this point in the history
  3. Now proper support for nested prefab upgrades

    - Fixed marking deltas on prefabs for pre-pass because Unity's API for this is not documented at all and the API itself is the most confusing to use API you could imagine.
    MerlinVR committed Nov 29, 2022
    Copy the full SHA
    0d0450b View commit details
    Browse the repository at this point in the history