issue : async method being abort by `new System.Windows.Forms.Form`

Опубликовано: 24 Июль 2026
на канале: Canis Wong
44
0

when using System.Windows.Forms.Form, will stop the async method without any reason.
also the async method trigger after that action will not able to survival more then one yield.
restart play mode will solve this issue.

Issue : Ticket
https://unity3d.atlassian.net/service...
https://issuetracker.unity3d.com/issu...

github:
https://github.com/canistk/TestAsync

reproduce step:
0) unzip the sample project
1) run Assets/Scenes/Issue.unity
2) play in editor
3) console should able to log "Beacon {count}" for each seconds.
4) right click on GameObject "Test Async" in inspector
4.1) run content menu "TestOpenForm"
Bug : 5A) the Beacon being stopped without any error.
Bug : 5B) the later async method call cannot execute more then one cycle.

Expected
the creation of `window form` should not interrupt the async method.

2025 07 16 18 12 59