Sorry for the late reply. Port.isConnected currently only works in editor. This is done so for performance reasons since Port.isConnected is set correctly within a part of the code that is a bit performance heavy and not really needed in runtime.
With that said, I will make isConnected work correctly in runtime as well for consistency in the next version.
Using GetFirstInputConnection() != null is definetely a solution to that which I might just use as well 🙂
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.