Search Issue Tracker

Active

Under Consideration for 1.0.X

Votes

1

Found in [Package]

1.0.17

Issue ID

N4EBUG-99

Regression

No

[Netcode for Entities] Long stalls can be observed on Android platform

Package: Unity Netcode

-

Steps to reproduce:
1. Open the attached user's project "netcube.zip"
2. Disable the Firewall
3. Find the "Bootstrap" authoring GameObject prefab and then change the IP address to your pc IP address
4. From the menu "Multiplayer - Windows: PlayMode Tools" make sure "PlayMode Type" is set to "Client & Server"
5. Enter Play Mode to check the cube can spawn properly and move around in the Editor
6. Build to an Android device
7. Open Profiler and then enter Play Mode
8. Launch the application on the device
9. You can see there are two cubes spawned on the Device and in Editor
10. Using Profiler, observe GhostCollectionSystem, SampleCubeInput, MoveCubeSystem, GhostPredictionDisableSimulateSystem, GhostPredictionHistorySystem and PredictedSimulationSystemGroup

Expected results: No long stalls in GhostCollectionSystem, SampleCubeInput, MoveCubeSystem, GhostPredictionDisableSimulateSystem, GhostPredictionHistorySystem and PredictedSimulationSystemGroup on Android platform
Actual Results: Long stalls can be observed in GhostCollectionSystem, SampleCubeInput, MoveCubeSystem, GhostPredictionDisableSimulateSystem, GhostPredictionHistorySystem and PredictedSimulationSystemGroup on Android platform

Reproducible with: Netcode for Entities 1.0.0-pre.65 (2022.2.15f1)
Could not test on these versions due to the package being modified and errors appearing after downgrading or upgrading the project (2020.3.47f1, 2021.3.23f1, 2023.1.0b13, 2023.2.0a11)

Reproducible with these devices:
N/A, Google Pixel 3 (Pixel 3), Android 12, CPU: Snapdragon 845, GPU: Adreno (TM) 630
VLNQA00413 - Samsung Galaxy Note10+ (SM-N975F), OS: 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00372 - Galaxy S21 5G (SM-G991U), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00177 - Xiaomi Mi Note 2 (Mi Note 2), OS: 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno 530
VLNQA00406 - Galaxy Z Flip3 5G (SM-F711B), OS: 11, CPU: Snapdragon 888, GPU: Adreno 660

Environment: Windows 10 22H2

Notes:
-User has attached "NetCube 2022.2.13 1.0.0-pre.65-Android.data" their profiler data
-Netcode for Entities has been modified to hack fix client player runtime build can't connect to server bug

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.