I have downloaded latest version od Spine and Unreal 4.27.
I created a new empty project on Unreal and I followed the Spine tutorial in order to integrate with Unreal for making an example.
However, when I do the steps 6 and 7 as described below, the Unreal try to compile these new source code and it crashes.
Steps:
6- Copy the contents of spine-runtimes/spine-ue4/Plugins/ to your project's Plugins/ folder.
7- Copy the folder spine-runtimes/spine-cpp/spine-cpp to your project's Plugins/SpinePlugin/Source/SpinePlugin/Public/ folder.
I found out the Tutoral has a mistake on step 7!!!!!!!
One should not copy "Public" folder. One should copy entire content of "include" and "src" folder, instead of copying folders.
Pagina 1 di 1
brunogsa
1 year ago
- brunogsa
- Messaggi: 10
Mario
Step 7 is correct. If you copy the folder as instructed, you'll end up with Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/src and Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp/include.
1 year ago
-
Mario - Messaggi: 3274
brunogsa
Which is a mistake. If you open Unreal or MSVS Project, an error will be raise because it tries to find "spine/spine.h" and it is not found because it is under "include" folder.
Or you copy the content as I said or you add include folder in your path.
You are may opening "spine unreal project". I created a empty project from Unreal (not spine).
Unreal craches and MSVS raise an error if you do not fix.
Or you copy the content as I said or you add include folder in your path.
You are may opening "spine unreal project". I created a empty project from Unreal (not spine).
Unreal craches and MSVS raise an error if you do not fix.
1 year ago
- brunogsa
- Messaggi: 10
Mario
But the SpinePlugin.build.cs file references exactly that include folder:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/SpinePlugin.Build.cs#L17
Did you modify the build.cs file in any way?
I've just updated our spine-ue4 example to UE 4.27. That works as intended.
I then created a new UE 4.27 C++ project, then followed the steps in the spine-ue4 documentation to integrate the spine-ue4 plugin into the project. I end up with this folder structure:
This project also compiles without issues in Visual Studio 2019.
https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/SpinePlugin.Build.cs#L17
Did you modify the build.cs file in any way?
I've just updated our spine-ue4 example to UE 4.27. That works as intended.
I then created a new UE 4.27 C++ project, then followed the steps in the spine-ue4 documentation to integrate the spine-ue4 plugin into the project. I end up with this folder structure:
Capture.PNG
This project also compiles without issues in Visual Studio 2019.
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
1 year ago
-
Mario - Messaggi: 3274
brunogsa
My SpinePlugin.build.cs file is equal to yours... It sounds strange...
It did not worked for me. Keep in mind if others users have the same issue.
Thank you for the detailed instructions!
It did not worked for me. Keep in mind if others users have the same issue.
Thank you for the detailed instructions!
1 year ago
- brunogsa
- Messaggi: 10
Mark topic unread
• Pagina 1 di 1
Torna a Runtimes
- Tutti gli orari sono UTC