네트워크 환경에서의 비정상 동작 수정

클라이언트 접속 전에 스폰되어 있는 오브젝트의 경우, Ownership이 Distributable일 경우 클라이언트 접속 시점에 Ownership을 호스트로부터 분배받는다.
서버만 데이터를 수정해야 하는 환경이기 때문에 대부분 Distributable 대신 None을 사용하면 된다.
This commit is contained in:
2026-02-17 01:53:06 +09:00
parent cc2487e7e4
commit 63a742d5d4
40 changed files with 582 additions and 316 deletions

View File

@@ -1287,10 +1287,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Netcode.Runtime::Unity.Netcode.NetworkObject
GlobalObjectIdHash: 2991918417
GlobalObjectIdHash: 209349728
InScenePlacedSourceGlobalObjectIdHash: 0
DeferredDespawnTick: 0
Ownership: 1
Ownership: 0
AlwaysReplicateAsRoot: 0
SynchronizeTransform: 1
ActiveSceneSynchronization: 0
@@ -1421,6 +1421,7 @@ MonoBehaviour:
speedParam: Speed
attackTriggerParam: Attack
isMovingParam: IsMoving
dieTriggerParam: Die
autoLoadFromMonsterData: 1
debugLogging: 0
--- !u!114 &3030624664380987043
@@ -1454,6 +1455,10 @@ MonoBehaviour:
NameHash: -823668238
Synchronize: 1
ParameterType: 1
- name: Die
NameHash: 20298039
Synchronize: 1
ParameterType: 9
AnimatorParametersExpanded: 0
--- !u!114 &4732197089904823630
MonoBehaviour: