Search Issue Tracker
Fixed
Fixed in 2.8.0
Votes
0
Found in [Package]
2.6.0
Issue ID
MTTB-1733
Regression
Yes
The given key 'EnemyAnimations' was not present in the dictionary
{}The given key 'EnemyAnimations' was not present in the dictionary{}_ after upgrading to netcode 2.6.0. happens when we try to send an rpc from SPAWNED network behaviour
Steps to reproduce:
The steps to reproduce: (v2.6 or v2.7)
- Create a generic project that includes
** NGO v2.6 or v2.6
* MP Tools (latest version is fine)
Create a scene.
* Add NetworkManager and disable scene management
Setup a player prefab
** In the player prefab make sure there is a NetworkBehaviour that invokes an RPC on another NetworkBehaviour on the player prefab (has to be 2 NetworkBehaviours)
** Make sure the RPC will be invoked immediately (i.e. SendTo.Owner will do this)
** Make sure the NetworkBehaviour that invokes the RPC is:
* Above the NetworkBehaviour that contains the RPC. (screenshot)
* The RPC is invoked during OnNetworkSpawn.
- Enter play mode
- Start as the host
Actual results:
An exception will be thrown when the RPC is invoked.
Expected results:
No exception should be thrown.
Reproducible with versions:
v2.6.0 & v2.7.0
Not reproducible with versions:
v.2.5.1 (and below)
Can’t test with versions:
Environment:
- OS: [Windows 11]
- Unity Version: [6000.2.9f2]
- Netcode Version: [2.6.0]
- Netcode Topology: [Client Server]
Notes:
A replication project has been added to this ticket and can be used to confirm the fix.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Add comment