How can this var tmp = new WeakObjectReference<GameObject>(authoring.prefab);
error into error CS1503: Argument 1: cannot convert from 'UnityEngine.GameObject' to 'Unity.Entities.Serialization.UntypedWeakReferenceId'?
It's calling:
#if UNITY_EDITOR
public WeakObjectReference(TObject unityObject)
{
this.Id = UntypedWeakReferenceId.CreateFromObjectInstance(unityObject);
}
#endif
Tested with an error 6000.1.6f1 and got a report from 6000.1.7f1
We use it successfully at work with 6000.1.4f1 and my personal project uses 6000.0.48f1.
Any idea why this is happening?