Skip to main content
New Participant
Mar 4, 2023 6:05 PM UTC

SharedSpaces project not compiling (unreal 5.1)

Hi Everyone,

 

I followed this lovely guide by ysquall to setup the shared spaces plugins in my project 

https://docs.google.com/document/d/1mb1YBlNyfjJ94gCY0rIi364pBIvkPko0rjiDumEcKto/edit

However when I build my project I get this error

"Could not find definition for module 'Photon', (referenced via Target -> PhotonNetDriver.Build.cs)"

Thank you in advance!

Kaushik

 

This topic has been closed for replies.

4 replies

Honored Contributor
Mar 5, 2023 3:54 PM UTC

if you build the original project SharedSpaces, do you get the error?

walabulu4Author
New Participant
Mar 5, 2023 5:38 PM UTC

Hey thank you for the reply!

Yup I can build the original project. But the moment I take it into another project (new or existing) it gives me that error.

 

Honored Contributor
Mar 6, 2023 5:39 AM UTC

did you try anything from the github source?
https://github.com/oculus-samples/Unreal-SharedSpaces/tree/main-5.x/Plugins/PhotonNetDriver/Documentation

Portability

The NetDriver plugin and Photon Realtime module can easily be transferred to another UE4 project in a few easy steps.

  • Copy the SharedSpaces/Plugins/PhotonNetDriver folder to <Project>/Plugins/
  • Make sure the plugin is enabled in UE4 Settings > Plugins.

    there are more infos on the site... see it if helps




Honored Contributor
Mar 6, 2023 5:40 AM UTC

you need to click the MD file on the link I posted... i will open a documentation that can help you