Preload Network Prefab Addressables
@Ufabsther já está trabalhando nisso.
Desde 25/4/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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
- Linguagem predominante
- C#
- Estrelas
- 2.3k
- Forks
- 461
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 20
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Unity-Technologies/com.unity.netcode.gameobjects
-
stat:awaiting-response stat:imported type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 68/100
Unity-Technologies/com.unity.netcode.gameobjects#4159 · 3 comentários ·
-
stat:reply-needed type:support
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 comentários ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 comentários · 1 responsável ·
-
Tracking type:feature-2.x
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 comentários ·
-
Tracking type:feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 comentários ·
Todas as issues de Unity-Technologies/com.unity.netcode.gameobjects
Issues semelhantes
-
type/automation type/tech-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
t/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
ci-failure-cause test-failure
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
area:auth FE mvp P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
klasolsson81/jobbliggaren#1788 ·