Preload Network Prefab Addressables
@Ufabsther arbeitet bereits daran.
Seit 25.4.2024.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Description
I am trying to Preload Network prefabs from addressables without spawning, the sequence of the process is that I run the server, invoke preload, then run the client.
The issue is that the client connection is denied immediately. It only happens if the server invokes a preload for more than 17 prefabs, then:
- The client tries to connect after server's invoked preloading.
- The client disconnects then reconnect.
It works only in two cases:
- If the loaded prefabs count is 17 or less, then the client late joining or reconnecting is not an issue.
- If the loaded prefabs count is more than 17, then it works only if the client is connected when the server invokes preloading Rpc.
Reproduce Steps
Iam testing on the (Dynamic prefab sample) project.
https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-dynamicPrefabs/
- Open scene (05_API Playground Showcasing All Post-Connection Use-Cases).
- Create and Add some prefabs to the addressables .
- Add the prefabs to the Dynamic Prefabs References List in AppController class (The list items should be more than 17).
- Build addressables.
- Run As a Host.
- Click (Load All Prefabs Async)
- Now Run the client.
Actual Outcome
The client connection is denied, the disconnects.
Expected Outcome
The client connects and preload all prefabs that the server has loaded.
Environment
- OS: Windows 11
- Unity Version: 2022.3.12F1 LTS
- Netcode Version: 1.6.0
- Vorherrschende Sprache
- C#
- Sterne
- 2.3k
- Forks
- 461
- Ø Merge
- 3 T. 16 Std.
- Gemergte PRs (30 T.)
- 20
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Unity-Technologies/com.unity.netcode.gameobjects
-
stat:import type:bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 68/100
-
stat:reply-needed type:support
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 Kommentare ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 Kommentare · 1 zugewiesene Person ·
-
Tracking type:feature-2.x
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 Kommentare ·
-
Tracking type:feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 Kommentare ·
Alle Issues in Unity-Technologies/com.unity.netcode.gameobjects
Ähnliche Issues
-
type/automation type/tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
t/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
ci-failure-cause test-failure
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
area:auth FE mvp P3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
klasolsson81/jobbliggaren#1788 ·