ProteusVRpublic / ProteusTemplate

Single/Multiplayer VR Template for Touch/Vive Controllers and Avatars
MIT License
161 stars 45 forks source link

Failed to launch a new ue4 project from template #25

Open mechamogera opened 5 years ago

mechamogera commented 5 years ago

My execution environment

When I try to create a UE4 C++ project from ProteusTemplate I fail with the following error.

Could not find definition for module 'ProteusAvatars' (referenced via [ProjectName].uproject -> ProteusAvatars.uplugin)

I noticed that the file names of [ProjectDir]/plugins/ProteusAvatars was changed and there were inconsistencies. I could create a new project as follows.

  1. Create a UE4 C++ project from ProteusTemplate.
  2. Close Visual Studio.
  3. Open [ProjectDir].
  4. Remove Plugins/ProteusAvatars folder
  5. Copy [ProteusTemplateDir]/Plugins/ProteusAvatars to Plugins/
  6. Edit source/[ProjectName]/[ProjectName].Build.cs and change [ProjectName]Avatars to ProteusAvatars.
  7. Delete .vs, Intermediate folder and [ProjectName].sln.
  8. Edit Config/DefaultEngine.ini and delete '+ActiveClassRedirects=...'
  9. Edit Config/DefaultEngine.ini and change [ProjectName]_Multi to Proteus_Multi
  10. Double-click [ProjectName].uproject and rebuild.
Flosseraptor commented 5 years ago

I followed your instructions but I am still receiving 74 errors, the first being that 'AProteusProjectGameModeBase' uses undefined class. Do you have any suggestions to help with this? Thanks