Skip to content

Commit 8be60c9

Browse files
chore: turn on verbose for world position stays test (#3346)
Turning on verbose debug for the WorldPositionStays integration test. ## Changelog NA ## Testing and Documentation - No tests have been added. - No documentation changes or additions were necessary. <!-- Uncomment and mark items off with a * if this PR deprecates any API: ### Deprecated API - [ ] An `[Obsolete]` attribute was added along with a `(RemovedAfter yyyy-mm-dd)` entry. - [ ] An [api updater] was added. - [ ] Deprecation of the API is explained in the CHANGELOG. - [ ] The users can understand why this API was removed and what they should use instead. -->
1 parent de68dcc commit 8be60c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testproject/Assets/Tests/Runtime/ObjectParenting/ParentingWorldPositionStaysTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ public enum NetworkTransformSettings
158158

159159
protected override IEnumerator OnSetup()
160160
{
161+
//TODO: Remove this when we determine what the random failure is
162+
m_EnableVerboseDebug = true;
161163
TestComponentHelper.ClientsRegistered.Clear();
162164
TestComponentHelper.NetworkObjectIdToIndex.Clear();
163165
for (int i = 0; i < k_NestedChildren; i++)
@@ -169,6 +171,8 @@ protected override IEnumerator OnSetup()
169171

170172
protected override IEnumerator OnTearDown()
171173
{
174+
//TODO: Remove this when we determine what the random failure is
175+
m_EnableVerboseDebug = false;
172176
if (m_ServerSideParent != null && m_ServerSideParent.GetComponent<NetworkObject>().IsSpawned)
173177
{
174178
// Clean up in reverse order (also makes sure we can despawn parents before children)

0 commit comments

Comments
 (0)