Describe the bug
When attempting to connect to a simulator running WPILib 2024 beta 1, the robot code will crash. Connection works fine if the project runs WPILib 2023.
To Reproduce
Create new 2024 robot code project
Launch simulator
Attempt to connect to simulator in AdvantageScope
Simulator crashes
Version:
AdvantageScope 3.0.0-beta-1
WPILib 2024.1.1-beta-1
Windows 11
Console output
********** Robot program starting **********
NT: Listening on NT3 port 1735, NT4 port 5810
********** Robot program startup complete **********
NT: Got a NT4 connection from 127.0.0.1 port 59767
NT: CONNECTED NT4 client 'AdvantageScope@1' (from 127.0.0.1:59767)
NT: Got a NT4 connection from 127.0.0.1 port 59768
NT: CONNECTED RTT client (from 127.0.0.1:59768)
NT: DISCONNECTED NT4 client 'AdvantageScope@1' (from 127.0.0.1:59767): stream error: EAGAIN
NT: NT4 socket error: resource temporarily unavailable
> Task :simulateJavaRelease FAILED
Describe the bug When attempting to connect to a simulator running WPILib 2024 beta 1, the robot code will crash. Connection works fine if the project runs WPILib 2023.
To Reproduce
Version:
Console output