4,605 Commits over 1,280 Days - 0.15cph!
Update namespaces & such in SpatialEnvironmentVolumeDrawPass instead of the render pipeline package
Fix render pipeline switch using statement -> Begin() & End() calls
Remove RustRenderPipelineAsset.renderingLayerMaskNames since it's Obsolete and no longer virtual
Fix namespaces & methods being changed in the Rust.RenderPipeline package
- changes in project directly instead of in git repo for now
- stuff like UnityEngine.Experimental.Rendering.RenderGraphModule -> UnityEngine.Rendering.RenderGraphModule;
- ComputeBuffer renamed to Buffer
- obvious fixes first
Script auto compile / fixes
Cherrypick CS
107091
- TMP_script changes
Cherrypick CS
107090
- ProjectSettings\MultiplayerManager.asset
Cherypick CS
107089
- CurrentVersion.cs
Update ProjectVersion.txt to 6000.0.58f2
Add RefillAsync() method but it already doesn't work on 2022
- the Transform parent parameter is ignored and not fixed until Unity 6 so the refilled prefabs are spawned in the main scene instead of attached to the inactive root
Add editor only behavior to create pools when a prefab is first instantiated
- currently it will only create the pool & start refilling it once the prefab is killed, not when it is first spawned
- convar `instantiate_creates_pools` (default false) will cause the pool to created after the prefab is first spawned
- this isn't an issue in standalone builds as it will warmup the prefabs on the menu and fill the prefab pool while connecting to the server
- can't use the warmup command to fill pools in the editor as that takes 30s+ and isn't great for testing
Store time taken to instantiate each prefab when refilling the pool
- base the average on up to the last 20 prefabs spawned
- used to determine if we need to move onto async instantiation (for hackweek we will play around but later on)
- use estimated time to enforce the per-frame budget a big more aggressively (don't instantiate a new prefab if it will exceed budget by 20%)
Start by adding simple pool refilling
- 0.1ms per frame creating prefabs until each pool is full
- keep list of partially full pools, loop through them in order
Fix print_prefabs having wrong order of columns (existing issue??)
Reapply the caching present before the optimization with a nullable bool & ensure ResetState() will reset the caching
Fix parented static occlusion optimization not working when coming back into network range
- moved setting dynamic / static occlusion after the parent is set instead of before
- ensures static occlusion grabs the correct position from parent
Clamp radiation maximum radius to +50% or +20m: whichever is smaller
- reduces puzzle radiation size on large puzzle rooms
- reduces how much radiation leaks out of military tunnels building blocked
Fix arctic research puzzle radiation spawning randomly across the map
- was having it's worldPosition added twice: once via localPosition and once via BoxCollider.center
- set the WorldPosition to zero so the BoxCollider.center can be the worldPosition
Disable dynamic occlusion pausing until further fixes because it seems to be enabling static occlusion long before parenting is finalized, causing it to think the static position is 0,0,0
merge from fix_has_respawn_options -> main
Fix checking for sleeping bags instead of checking respawn options in PlayerInit()
- was still spawning player on death screen on fresh wipe because it was checking for 0 sleeping bags which would return the mission locked outpost respawn point
merge from fix_dynamic_occlusion_pooling -> main
Fix pooling issue with dynamic occlusion pausing
- was assuming the entity wasn't parented by default, so dynamic = false by default
- however wasn't resetting the bool in ResetState() causing pooling errors
- even if it was, the old code was updating batching + occlusion every time the parent changed so we want to follow suit
Show CPU time vs total warmup time when logging time taken to warmup steam item definitions
- only shown in editor
- the numbers were correct, it's actually really slow to warmup steam items on main thread
merge from puzzle_reset_changes -> main
Fix radiation trigger not being multiplied by 2 (extents vs size)
merge from puzzle_reset_changes -> main
Fix SpawnGroup on NMS having higher population than "maxSpawnedPerTick" causing it to consider the puzzle looted
S2P
S2P Launch site to apply previous "pauseUntilLooted" changes
Enable pauseUntilLooted in powerplant
S2P
merge from puzzle_reset_changes -> main
Enable pauseUntilLooted on water treatment
Disable radiation on the manually opened puzzle room
S2P
Enable pauseUntilReset on trainyard
S2P
Enable pauseUntilLooted on dome
S2P
Enable pauseUntiLooted and ignoreAboveGround on sewer branch puzzle
S2P
Enable pauseUntilLooted in sats
S2P
- shrink from 7m -> 5m
Enable pauseUntilLooted in radtown
S2P
Add right click option to update spawn groups on a PuzzleReset by finding all within 0.25m in the scene
Enable pauseUntilReset on harbor 2
S2P
- fix door barricade not spawning with puzzle, ensure it doesn't consider the puzzle started
Enable pauseUntilReset on harbor 1
S2P
Enable pauseUntilLooted on ferry terminal
S2P
Add pauseUntilReset to airfield puzzle room
S2P
merge from main -> puzzle_reset_changes
merge from puzzle_reset_changes -> main
Redo codegen becasue it was failing to merge
merge from main -> puzzle_reset_changes
Prevent barrels from starting the reset timer (so players can't shoot barrels to start reset time)
S2P
merge from puzzle_reset_changes/arctic_research -> puzzle_reset_changes