Closed vladnau89 closed 4 years ago
Describe the bug code if (BoltNetwork.IsRunning && BoltNetwork.CurrentAsyncOperation != null) { } throw exception:
InvalidOperationException: List is empty BoltSingleList1[T].VerifyNotEmpty () (at <91e633532a7e4582a260e897276e2d36>:0) BoltSingleList1[T].get_first () (at <91e633532a7e4582a260e897276e2d36>:0) Bolt.SceneManagement.BoltSceneLoader.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltInternal.BoltCore.get_currentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltNetwork.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0)
1[T].VerifyNotEmpty () (at <91e633532a7e4582a260e897276e2d36>:0) BoltSingleList
To Reproduce Steps to reproduce the behavior:
void FixedUpdate() { if (BoltNetwork.IsRunning && BoltNetwork.CurrentAsyncOperation != null) { }
}
Expected behavior no exception.
Actual behavior BoltNetwork.CurrentAsyncOperation != null return exception
Desktop (If applicable, please complete the following information):
Additional context
Fixed on the next release.
Thanks for your feedback.
Describe the bug code if (BoltNetwork.IsRunning && BoltNetwork.CurrentAsyncOperation != null) { } throw exception:
InvalidOperationException: List is empty BoltSingleList
1[T].VerifyNotEmpty () (at <91e633532a7e4582a260e897276e2d36>:0) BoltSingleList
1[T].get_first () (at <91e633532a7e4582a260e897276e2d36>:0) Bolt.SceneManagement.BoltSceneLoader.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltInternal.BoltCore.get_currentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltNetwork.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0)To Reproduce Steps to reproduce the behavior:
void FixedUpdate() { if (BoltNetwork.IsRunning && BoltNetwork.CurrentAsyncOperation != null) { }
}
InvalidOperationException: List is empty BoltSingleList
1[T].VerifyNotEmpty () (at <91e633532a7e4582a260e897276e2d36>:0) BoltSingleList
1[T].get_first () (at <91e633532a7e4582a260e897276e2d36>:0) Bolt.SceneManagement.BoltSceneLoader.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltInternal.BoltCore.get_currentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0) BoltNetwork.get_CurrentAsyncOperation () (at <91e633532a7e4582a260e897276e2d36>:0)Expected behavior no exception.
Actual behavior BoltNetwork.CurrentAsyncOperation != null return exception
Desktop (If applicable, please complete the following information):
Additional context