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
На этой странице сайта вы можете посмотреть видео онлайн issue : async method being abort by `new System.Windows.Forms.Form` длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Canis Wong 16 Июль 2025, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 44 раз и оно понравилось 0 зрителям. Приятного просмотра!