Search Issue Tracker
Fixed
Fixed in netcode-1.7.0, 1.5.x
Votes
0
Found in [Package]
netcode-1.0.17
Issue ID
MTTB-288
Regression
No
Netcode predicted spawn classification failing in the Editor when Entities Hierarchy is active
How to reproduce:
1. Open the attached project "PredictedSpawning.zip"
2. Open Window>Entities>Hierarchy
3. Dock the Entities Hierarchy window next to the Hierarchy window
4. Select the Hierarchy window
5. Enter Play Mode
Expected results: "Classification complete" is printed in the Console window
Actual results: "No predicted spawns found" is printed in the Console window
Reproducible with: 2022.3.11f1 (1.0.8, 1.0.17)
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 1.5.x):
This issue was due to a subtle issue with the code. In one system, the Simulate tag is being queried in GhostPredictionSystemGroup, to ensure that it should be simulated. However, the query also ignores the enabled-state of all components to control the enabled state of another component. This also causes the enabled-state of Simulate to be ignored, and the prediction is not being properly simulated.
To hopefully prevent future issues, we will add a warning when you ignore the enabled state in a query with Simulate while in the prediction loop. It is a valid use case in rare instances, so the warning can be disabled.