Skip to content

Commit 29b3d32

Browse files
authored
Merge pull request #186 from Unity-Technologies/changelog_upgrade_notes_0.7.0
Changelog upgrade notes for 0.7.0
2 parents 84c790c + de8890f commit 29b3d32

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

com.unity.perception/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525

2626
### Upgrade Notes
2727

28+
#### Randomization Namespace Change
29+
The Randomization toolset has been moved out of the Experimental namespace. After upgrading to this version of the Perception package, please follow these steps:
30+
* Replace all references to `UnityEngine.Experimental.Perception.Randomization` with `UnityEngine.Perception.Randomization` in your C# code.
31+
* Open your Unity Scene file in a text editor and replace all mentions of `UnityEngine.Experimental.Perception.Randomization` with `UnityEngine.Perception.Randomization`, and save the file.
32+
33+
#### Random Seed Generation
34+
Replace usages of `ScenarioBase.GenerateRandomSeed()` with `SamplerState.NextRandomState()` in your custom Randomizer code.
35+
36+
#### Sampler Ranges
2837
Before upgrading a project to this version of the Perception package, make sure to keep a record of **all sampler ranges** in your added Randomizers. Due to a change in how sampler ranges are serialized, **after upgrading to this version, ranges for all stock Perception samplers (Uniform and Normal Samplers) will be reset**, and will need to be manually reverted by the user.
2938

39+
#### Tag Querying
40+
The `RandomizerTagManager.Query<T>` function now returns the tag object itself instead of the GameObject it is attached to. You will need to slightly modify your custom Randomizers to accommodate this change. Please refer to the included sample Randomizers as examples.
41+
3042
### Known Issues
3143

3244
The bounding box 3D labeler does not work with labeled assets that utilize a skinned mesh renderer. These are commonly used with animated models.

0 commit comments

Comments
 (0)