userDaniel Pcancel

955 Commits over 243 Days - 0.16cph!

Today
▍▋▍▍█▄: ▅▆█▉▄ ▆▌▇ ▍▋▍ ▄▊██▌▌▊█▄ ▆▍▋▍▊▉▍▋ ▋▌▍█▌█▅▊▅ ▊▄▊▄▋▊▄█ ▅▊▉▉ ▅▍ ▇▉'▇ ▌▅▉ █▌▉▇▅ ▉▅▌▉▆: ▆▇▌▊▆▊ ▋▄▉▇ ▊▉▉ ▍▇▅▊▍▉▌ █▊▍▅
Today
▆▋▅█▇▍: ▄▊▉▍▍ ▋▄▋ ▄▇▄▋█▋▉▄▋ ▆▋▉▆▊▋▇▄ ▊▅▉▇ ▉▅▊▊█▋▋▅▌▇ ▉▊▊▍▅ ▉▍▉▅▅: ▆▄▌▋▋▋ ▇▍▆▌ ▆▊█▇▉▆▇ ▅▄▍▌
Today
▋▌▄▌▍▆: ▊▅▆▌▋█▍▅▍ █▋▌ ▇▉▅▇▆▅█▊▊ ▋▍▍▍▌▍█▆ ▇▊▊ ▄▋█▌█▉ ▋▌▊▉▊▋ ▆▊▇▉▉: ▇▊▌ █▇▊▌▆▆▌ ▌▉▉▌ ▉▌▅▋▊▅▆▍
Today
▉▉█▅▇▆: ▄▅▆ ▌▌▅█▍▇▉ ▇▍▅█ ▄▇ ▌▇▊▉ ▋▌▋█▄▋ ▊▆█▄▄ ▅▋▅▆▊▌▊▉.▌▍█▌▊▇▄▉ ▍▍▅▊▄: █▌▉▆
Today
Update: Split various tick validation functions into smaller loops - Added a couple small extension utils to NativeList This helps isolate code that we'll be able to run as Burst jobs - there's a bit more to split Tests: Staging demo playback - got comparable results
Yesterday
Update: translate ValidateMove to batched ValidateMoves Internally it's the same logic for now, as I've yet to properly intergrate TickInterpolatorCache and need to convert a lot of internal methods Tests: played back staging demo - got same numbers and no new errors
Yesterday
Update: made some caches stable across frames Tests: played back staging demo - no new errors and stats match expected
Yesterday
Clean: simplify call Tests: none, trivial change
Yesterday
Merge: from parallel_validatemove Tests: none
Yesterday
Merge: from parallel_validatemove - bugfix for invalid transforms in the cache - fallout from previous bugfix Tests: played back staging demo - counts as expected and no more errors about transform cache inconsistency
Yesterday
Bugfix: fix transform cache rebuild loop Previously threw away dirty indices too early, missing on some player cache changes Tests: played back the staging demo - no more error logs about transfomr cache inconsistency
Yesterday
Update: consolidate debug logic - Also ValidatePlayerCache fixed to actually check for native-null players I'm hoping I won't need this after tomorrow, but keeping it fixed to use for testing on staging for a bit Tests: ran through the staging demo - notifced it's picking up an issue from the prev merge, will fix shortly
Yesterday
Merge: from parallel_validatemove Tests: none, no conflicts
Yesterday
Merge: from parallel_validatemove - Bugfix for null players in PlayerCache causing UsePlayerUpdateJobs to get disabled Tests: played back staging demo - got similar results
Yesterday
Clean: fixing broken whitespaces that I spotted with the merge Tests: none, trivial change
Yesterday
Merge: from main Tests: none, no conflicts
Yesterday
Bugfix: PlayerCache now tracks players that are removed from the server Original impl left a space where it could miss some of the players, leading to rogue nulls. Tests: played back staging demo - had same numbers
2 Days Ago
Merge: from parallel_validatemove Tests: none (resolved into dest version)
2 Days Ago
Update: adapted code to PlayerCache change - FinalizeTickParallel now uses `player.StableIndex` as indirection, instead of iterator index - Updated validation checks - Transform caching job now checks for invalid transform accessses Tests: ran all relevant unit tests, played back staging demo - got comparable numbers
3 Days Ago
Merge: from parallel_validatemove - fixing one of validation checks silently passing Tests: none, trivial change
3 Days Ago
Bugfix: one of validation checks was doing nothing Tests: none, trivial change
3 Days Ago
Merge: from parallel_validatemove Tests: none, no conflicts
3 Days Ago
Clean: Lenght -> Length Tests: compiles in editor
3 Days Ago
Merge: from parallel_validatemove - Removing extra logging Tests: built server locally
3 Days Ago
Clean: removing BasePlayer OnDisable/-Destroy logs for UsePlayerUpdateJobs Got confirmation that it's not Unity nuking the objects, so something else must be afoot. Tests: built server locally
3 Days Ago
Merge: from main Tests: none, no conflicts
3 Days Ago
Update: fix TickInterpolatorCache tests and update it's API - No longer tracks player count - Made API focus on Expand -> Replace(index) flow - makes it easy to work with PlayerCache Tests: ran unit tests
3 Days Ago
Update: PlayerCache now guarantees spatial stability - Updated it's direct tests (will update rest next) Updated interface, although compatible with existing code, will lead to breakages, so I'm slowly updating the relevant code Tests: ran unit tests
3 Days Ago
Merge: from parallel_validatemove - minor server demo playback bugfix - extra debug logging for baseplayer destruction when UsePlayerUpdateJobs is enabled Tests: build tests
3 Days Ago
Clean: fixing broken formatting that snuck in on main Tests: none, trivial changes
3 Days Ago
Merge: from main Tests: none, no conflicts
3 Days Ago
Debug: adding sanity debug error logs to baseplayer OnDisable and OnDestroy Hoping to catch where it's coming from Tests: local build tests
4 Days Ago
Bugfix: ServerDemoPlayer - handle player reconnecting multiple times Not 100% sure it's the correct way, but I think it works for now. Tests: played back new staging demo 3 times
4 Days Ago
Tests: replace Assert.AreEqual with Assert.IsTrue - Brings TickIntrpolatorCache test from 30s+ down to 6s Turns out AreEqual is slow and inflates the test times by quite a bit. Tests: ran unit test
4 Days Ago
Optim: TickInterpolatorCache reduce number of segments being copied when growing Unit test is still slow, need to dig a bit more Tests: ran unit tests
4 Days Ago
Merge: from parallel_validatemove - more debug to track down null baseplayer Tests: local editor SERVER+CLIENT session
4 Days Ago
Clean: fixing whitespace issues after auto-merge Tests: none, trivial changes
4 Days Ago
Merge: from main Tests: none, no conflicts
4 Days Ago
Debug: sprinkling additional validation checks in ServerUpdateParallel Trying to narrow down at which point this null sneaks in Tests: none, trivial change
5 Days Ago
New: TickInterpolatorCache - a sparse, bulk TickInterpolator array - Comes with it's own stress tests (they pass, but need to investigate perf) - Depends on PlayerCache, but I need to modify it to provide more stability Building block towards jobifying tick history processing. Tests: ran unit tests
5 Days Ago
Optim: replace couple managed loops with a burst job Tests: none, trivial changes
5 Days Ago
Merge: from parallel_validatemove - buidlfix Tests: build client and server in editor
5 Days Ago
Buildfix: move ValidateTransformCache to SERVER region - also fixed missing Profiler.EndSample() Tests: built client and server in editor
5 Days Ago
Merge: from parallel_validatemove - Adds error checking to UsePlayerUpdateJobs 1 mode and graceful disable to avoid crashes to help with investigation Tests: ran parallel mode in editor on craggy with a couple debugger-forced emergencies
5 Days Ago
Merge: from main Tests: none, trivial merge
5 Days Ago
Clean: promote server var to a const - no codegen since I didn't do one when I added this It's temp code, but it makes things safer while I investigate, so no reason to disable it at runtime Tests: none, trivial change
5 Days Ago
Bugfix: purge player cache when player update jobs has emergency shutdown Allows to restart player update jobs cleanly in the same session Tests: in editor with debugger forced an emergency scenario, confirmed the cache was empty and rebuilt
5 Days Ago
Update: move player transform cache updates to be first step of parallel player processing - Bugfix - using Steam networking backend can have temporary outtages, which can cause gaps in processing and player cache desyncing - also enables us to compose parallel flows better in the future Tests: local editor session on craggy
5 Days Ago
Update: add temp emergency disable of player job processing - Only active on staging servers while I investigate the crashes Tests: forced an error via debugger - confirmed fallback is working
5 Days Ago
Tests: move the PlayerCache stress test to it's relvant tests file and clean up - commented out the expected-to-fail case Tests: ran the tests