Hi together
I am experiencing a strange problem and I hope somebody can help me as I have not found anything about it in any forum.
I am trying to auto create Prefabs, which use the Photon Stack (PhotonView, PhotonTransformView, PhotonAnimatorView). When I did this process manually, so copying the prefab and changing the settings manually everything works fine. When using PrefabUtility it seems that the positions of gameObjects which contain a photonTransformView and which are added to existing prefabs do not sync.
This would be an example:
Initial Prefab:
GameObjectParent (contains PhotonView)
-GameObjectChild1 (contains PhotonTransformView)
-GameObjectChild2 (contains PhotonTransformView)
Object to be nested inside GameObjectParent:
-GameObjectChild3 (contains PhotonTransformView)
After using PrefabUtility:
GameObjectParent (contains PhotonView)
-GameObjectChild1 (contains PhotonTransformView)
-GameObjectChild2 (contains PhotonTransformView)
-GameObjectChild3 (contains PhotonTransformView)
In this case GameObjectChild3 would not syncronise. I am very sure that this is not a matter of configuration as the same setup for me works when copying the Prefab manually.
I have spent hours checking where the error could be but I have not found any solution.
Thanks already for any help!
I am experiencing a strange problem and I hope somebody can help me as I have not found anything about it in any forum.
I am trying to auto create Prefabs, which use the Photon Stack (PhotonView, PhotonTransformView, PhotonAnimatorView). When I did this process manually, so copying the prefab and changing the settings manually everything works fine. When using PrefabUtility it seems that the positions of gameObjects which contain a photonTransformView and which are added to existing prefabs do not sync.
This would be an example:
Initial Prefab:
GameObjectParent (contains PhotonView)
-GameObjectChild1 (contains PhotonTransformView)
-GameObjectChild2 (contains PhotonTransformView)
Object to be nested inside GameObjectParent:
-GameObjectChild3 (contains PhotonTransformView)
After using PrefabUtility:
GameObjectParent (contains PhotonView)
-GameObjectChild1 (contains PhotonTransformView)
-GameObjectChild2 (contains PhotonTransformView)
-GameObjectChild3 (contains PhotonTransformView)
In this case GameObjectChild3 would not syncronise. I am very sure that this is not a matter of configuration as the same setup for me works when copying the Prefab manually.
I have spent hours checking where the error could be but I have not found any solution.
Thanks already for any help!