“AssertException: GetTypeKey for RunEveryone.Fusion.NetworkInputData”
I’m getting this error while using Fusion 2 in Unity 6, I can’t find any resolve for this, I’d be happy if someone knows the work around…
Hi,
It seems your NetworkInput Type is not properly weaved or found by Fusion.
Is the RunEveryone.Fusion.NetworkInputData type inside an Assembly Definition for example?
If so, you must include that Assembly in the Assemblies to Weave on the NetworkProjectConfig file.
Also, can you double-check it and try to run the Fusion Weaver manually?
Under the Fusion Menu, you will find the Run Weaver button, which enforces this.
–
Ramon Melo
Photon Fusion Team
Yes I tried plenty of work arounds, ran the weaver button, modified the assembly definitions, re-imported the fusion sdk but still getting the same result, I noticed the Editor > AssetSerialization was not set to “ForcedText” but even after that it was not giving the results, so I made a new project, imported all my assets, animations and scripts and then imported the fusion sdk, worked fine. Thanks for support Ramon.
Alright,
Thanks for your feedback.
It still sounds strange, as per your description, it should certainly find the NetworkInput Type to weave it, as the error you got is saying that your type was not found during the scan phase, which looks for all INetworkedInput within the project assemblies.
Glad it is working now.
Can you share which SDK version + Unity version are you using?
So we can double-check it.
Thanks.
Unity version : 6000.0.23f1
Fusion sdk : Latest sdk from the Photon official site