Skip to content

Commit 90f0077

Browse files
committed
Non-authority gets synchronize event now
1 parent 39d7ef1 commit 90f0077

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

testproject/Assets/Tests/Runtime/NetworkSceneManager/SceneManagementSynchronizationTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ public IEnumerator SynchronizationCallbacks_NonAuthority()
159159

160160
// Setup expected events
161161
m_ExpectedEventQueue.Enqueue(new ExpectedEvent()
162+
{
163+
SceneEvent = new SceneEvent()
164+
{
165+
SceneEventType = SceneEventType.Synchronize,
166+
ClientId = expectedClientId,
167+
},
168+
});
169+
m_ExpectedEventQueue.Enqueue(new ExpectedEvent()
162170
{
163171
ConnectionEvent = new ConnectionEventData()
164172
{

0 commit comments

Comments
 (0)