Hello! I am developing an app for Hololens 2 and I am currently stuck in a sharing related issue. I am using Photon to do the sharing, and PhotonNetwork.Instantiate() can create game objects from prefabs which include the PhotonView script component, along with the components that give them the functionality I need.
The problem arises in my need to let the users find 3d models from an in-app file browser or an internet browser and load them to the scene, as these new models include only graphics related information. PhotonNetwork.Instantiate() can instantiate only prefabs, which i cannot process and save at runtime. I tried to manually instantiate a 3d model, which allowed me to add components to it before sharing, but this method requires all users to have access to the specific 3d model.
Excuse me for missing an obvious way around the problem. I am kinda newbee.
Both PhotonNetowork.Instantiate() and manual instantiation can be found here: