SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
88 stars 18 forks source link

SkipAssets issue #4210

Closed rube200 closed 11 months ago

rube200 commented 12 months ago

I was testing some stuff on a test server. I start a server with '-skipassets' and then start unturned without '-skipassets' after join i get insta kicked with msg 'Server missing asset: "Control #3" File: "Control_2" Id: a316f133aaaa442aae9135470087c4f7' LOG:

[2023-11-19 19:21:58] Authenticating with server
[2023-11-19 19:21:58] Loading hardcoded special events "Level/Triggers_PEI" for level "PEI"
[2023-11-19 19:22:00] No item hotkeys to load
[2023-11-19 19:22:00] Applying graphics settings (loaded player)
[2023-11-19 19:22:00] Applied graphics settings
[2023-11-19 19:22:00] Accepted by server
[2023-11-19 19:22:01] Disconnecting: Kicked for sending invalid asset guid: a316f133aaaa442aae9135470087c4f7
[2023-11-19 19:22:01] Client disconnect from 2304335830 result: True
[2023-11-19 19:22:01] Cancelled auth ticket
[2023-11-19 19:22:01] Disconnected
[2023-11-19 19:22:01] Returning to main menu

Second test: I start a server with '-skipassets' and then start unturned with '-skipassets' (both with skipassets) After attempting to join the server i join the server i got kicked with this msg Built-in resources mismatch. Verifying game files should repair this. LOG:

[2023-11-19 19:24:56] Client connecting to 127.0.0.1:27016
[2023-11-19 19:24:56] Client connection with 3787661978 ready
[2023-11-19 19:24:56] Server specified no workshop items, launching
[2023-11-19 19:24:56] Adding 0 asset(s) from origin Vanilla Built-in Assets to server mapping
[2023-11-19 19:24:56] Loading server level (PEI)
[2023-11-19 19:24:56] Unable to find level asset d258342682aa44f89b08de0b47797c4e for PEI
[2023-11-19 19:24:56] Unable to find default level asset for PEI
[2023-11-19 19:24:56] Unlocked Steam achievement "PEI"
[2023-11-19 19:24:56] Survival
[2023-11-19 19:24:56] Context "Tree" missing asset c25f4502b6484b52a867254fb8124436
[2023-11-19 19:24:56] Context "Tree" known missing asset c25f4502b6484b52a867254fb8124436, server will not kick clients for this
(...)
[2023-11-19 19:24:57] Context "Landscape tile (x: 0 y: 0 layer: 7)" missing asset 2e329671e8c9432eae580f7807acc021
[2023-11-19 19:24:57] Context "Landscape tile (x: -1 y: -2 layer: 7)" known missing asset 50acf0bddd844f93addd0097f7d95d95, server will not kick clients for this
[2023-11-19 19:24:57] Context "Landscape tile (x: -1 y: -2 layer: 7)" missing asset 50acf0bddd844f93addd0097f7d95d95
[2023-11-19 19:24:59] Long delay between Updates: 2,069077s
[2023-11-19 19:24:59] Applied 1 hole volume(s) to 1 terrain tile(s)
[2023-11-19 19:24:59] Auto converting legacy nodes
[2023-11-19 19:24:59] 0 texture(s) in Standard (Decalable) group
[2023-11-19 19:24:59] 0 texture(s) in Standard (Specular setup) (Decalable) group
[2023-11-19 19:24:59] 0 texture(s) in Custom/Card group
[2023-11-19 19:24:59] 0 texture(s) in Custom/Foliage group
[2023-11-19 19:24:59] Level texture atlas generation took: 2ms
[2023-11-19 19:24:59] Level static batching took: 5ms
[2023-11-19 19:24:59] Ready to connect
[2023-11-19 19:24:59] Disconnecting: Rejected by server (WRONG_HASH_RESOURCES) --- Reason: "" Explanation: ""
[2023-11-19 19:24:59] Client disconnect from 3787661978 result: True
[2023-11-19 19:24:59] Disconnected
[2023-11-19 19:24:59] Returning to main menu
SDGNelson commented 11 months ago

Thanks! I'll get both of these fixed for the next update.