Skip to content

Conversation

sleal-unity
Copy link
Contributor

@sleal-unity sleal-unity commented Feb 7, 2021

Notice: Merge this PR after this PR.

Peer Review Information:

This PR fixes a two items that were hindering determinism:

  1. The RandomizerTagManager now uses an OrderedSet data structure to register tags as to preserve insertion order determinism while running in Unity Simulation
  2. GameObjectOneWayCache now correctly registers and unregisters RandomizerTags on cached GameObjects

Editor / Package versioning:

Editor Version Target: 2019.4

Dev Testing:

Tests Added:
Added a RandomizerTagTest that ensures that randomizer tag queries now preserve RandomzierTag insertion order

Checklist

  • - Updated changelog

Copy link
Collaborator

@mkamalza mkamalza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work, just a couple of minor things

Copy link
Collaborator

@mkamalza mkamalza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet

@sleal-unity sleal-unity merged commit 1f5836b into master Feb 8, 2021
@sleal-unity sleal-unity deleted the ordered-tag-queries branch February 8, 2021 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants