3,309 Commits over 945 Days - 0.15cph!
Undo substract on main CS
98931
merge from main -> monument_scenes
Subtract accidental merge of monument_scenes to main instead of aux2
Merge from monument_scenes -> aux2
Fix remapped scene prefabs being warmed up
Merge from monument_scenes -> aux2
Fix S2S not adding tags to monuments with their MonumentInfo not on root level
Merge from main -> monument_scenes
merge from analytics_profile_servermgr -> main
Add profiling to following methods & include in runtime profiling data
- ServerMgr.Update()
- Net.sv.Cycle()
- Physics.SyncTransforms()
- CompanionServer.Tick()
- BasePlayer.ServerCycle()
merge from fix_server_profiling_lag_spike -> main
Fix RPC lag spikes not including server id
Merge from monument_scenes -> aux2
Add oil rig monument scenes
Add arctic research base scene & remapped prefab
Fix remapping of monuments to exclude monuments without scenes
Add logging
merge monument_scenes -> aux2
Add scene prefabs to /remapped/ folder instead of /autospawn/ so they stop conflicting with terrain generation
Delete scene prefabs from autospawn directory
Default to monument_scenes enabled in editor because it messes with map gen
Actually include the "monuments only" mode when running in Scene2Scene mode
Refactor SceneToPrefab to use an options class instead of many parameters
By default don't save each scene (since nothing changes about it)
By default Scene2Prefab/Update All outputs normal prefabs
- extra option to output monuments as scenes
- extra option to only output scene prefabs
Disabled monument scene convar by default
- better to opt-in than break aux2
Remap to a different directory (/remapped/ instead of /autospawn/) because map generation was picking up both versions of the prefab and causing issues
Make sure output directory of prefab exists before outputting
Ensure output path of asset has forward slashes
Merge from monument_scenes -> aux2
Fix compile errors when putting editor in SERVER mode
- only allow SceneToPrefab to work when in CLIENT + SERVER mode (it only required CLIENT before)
merge from monument_scenes -> aux2
Scene2Scene every monument
Store prefab's path inside ScenePrefab
- used for PreProcess: not convinced it's critical but good to include
Add ability to toggle the feature on and off (until it's stable)
- convar `monument_scenes` turns it off (default enabled)
- add '_scene' onto end of cut-down prefab
- remap large monument prefab -> cut-down prefab when spawning & the convar is enabled
merge from main -> monument_scenes
Fix build compile errors
Fix loading scene by path instead of by name in standalone builds
Scene2Prefab will output prefabs disabled so monuments can be moved to correct position before OnEnable() is called
- enable the prefab once the monument scene is loaded
Package all monument scenes into `monument_scenes.bundle`
Keep components attached to AddToHeightMap and AddToWaterMap
Delete components in one sweep instead of as we are iterating through components
- also allows us to mark components as required by other components
merge from main -> monument_scenes
merge from analytics_dump_hierachy_formatting -> main
Fix components incorrectly marked as "unsupported" for enabling/disabling
- renderers
- particle systems
- LODGroup
merge from analytics_dump_hierarchy_formatting -> main
merge from analytics_asset_warmup -> main
Add ability to see what is enabled vs disabled for `GameObject.Hierarchy.Components.txt` from `dump` command
- Components show a checkmark if enabled vs disabled, they show a `~` if the component doesn't support enabling
- GameObjects show a `+` if active & `-` if disabled
Add asset warmup & world spawn timings to `dump` command
- output to csv so it can be opened in excel
- don't output if there are zero data points
- reset the world spawn timing every time a new map is loaded
- Asset.Warmup.csv
- World.Spawn.csv
Merge from fix_unity_hook -> main
Move LagSpikeProfiler.enabled into the record method
Show editor's email instead of the server name when in the editor (so it's easier to select a server in grafana)
Move uploader creation into it's own method EnssureUploadersCreated()
Ensure invokes are reset when we start recording so we don't get the cumulative stats since startup
Move Reset() methods outside of serialize methods
Improve readability of code
- move try catch & "enabled" check into each Serialize() method
- move some Serialize() methods into their profiler classes
- set default enabled state in each profiler so the convars reflect what is turned on
Add convars to all of profiling analytics
- profiling_server to enable / disable feature (instead of relying on if upload url is provided)
- profiling_{feature} for each part we measure
Fix unity hook not working by moving it from GameSetup -> Bootstrap
Include "reserved" in serverinfo to see how many reserved slots are active
Add `print_reserved_slots` to see how much time each reserved slot has left
▆▊█▄▅▉ ▋▍▅▊▄▉▄▇▄_▇▌▆██▊▄▌▋▄▇▆▌▋▍▊▄ ▅▇ ▉▍▊▇▍ ▇▇▇▉▌▆▍▊▄ ▋▆▆▅▍▋ ▇▆▌▊▄▋▇ ▌▅▆▍▍▇▊▋▅▋█ ▆▅▅▆█▍▉
- ▅▋▅ ▅▉ ▋▉▅ ▇ ▄▇▄▄▇▆▄█▅▆ & ▍▆▉▍▆ "▉█▋▌▌▉▅▋▌▄▌▄" ▅▋▊▉▇▌▄▊█▅▊ ▄▄▄▊▄▅
Commit marking more components as [MapGeneration]
Add progress of how many monuments are left when running S2P on every single monument