Steam Workshop now available
The Steam Workshop is up and running!
Upload replays by clicking the more button in the replay window (...). Download replays by subscribing to them in the workshop. Files are downloaded automatically through Steam and show up in the "Downloaded" section of the replay window.
I spent a few days fixing the problems that occurred when starting a race or changing tracks. Unexpected behaviour such as the race starting twice or not starting at all; races not ending; not transitioning to the next track; etc. should all be fixed.
Here are the changes since October 31:
I reached out to Photon support regarding the collision latency between bikes and got an answer, so I'll be working on that soon.
Multiplayer Lag Fix
After three weeks of hard work I finally fixed the multiplayer lag. There were several bugs that tripped me up and took a long time to find/fix. The worst of which was caused by my Xbox One controller.
There was a consistent lag of about 0.5 seconds that would occur every second or so. I spent a few days stripping everything down to find out what the problem was. The worst part was when I verified the lag and spent some time going down one avenue then tested it again and the lag was gone. This happened because sometimes I had my controller on and sometimes it was off. When the controller is on it interferes with the Wi-Fi somehow, causing it to lag. The current solution is not to use the controller at all. It doesn't affect the send rate so only the person using the controller sees the lag, they still appear normally on everybody else's screen. I want to put together a test project to see if it's caused by the networking library or if it still happens when using Unity's built-in networking. I emailed Photon about the problem but they are not confident they can do anything about it. I'm using my SteelSeries Stratus XL controller for now because it doesn't cause any lag. Sometimes the triggers get "sticky" causing problems in the game but I find a fresh pair of batteries makes it work better.