Cannot launch default Paper2D C++ project

  • UE 4.6.1
  • New C++ Project - 2D Side scroller template (it contains Paper2d)
  • Run in Visual studio

Output error is Class ApaperCharacter contains a dependency (#include or DependsOn) to itself.

So Visual Studio fails to run it.

Thank you

Hi lukas,

I was able to create a C++ 2D Side Scroller project without any build errors. Are you using 4.6.1 binary or have you built from source?

UE 4.7 seems to be fine. at least…

Can you let me know if you encountered this problem with binary version of 4.6.1, or if you had built 4.6.1 from source? Thanks!

That’s more of a Packaging question, which I am unfortunately not very familiar with. There are many similar questions in Packaging and Deployment section, so that would be first place to check. If you don’t find what you’re looking for, go ahead and make a new post in that section and let me know, and I’ll get someone to look into it.

For this issue, I haven’t been able to reproduce it at all. Does this happen every time you try to create a new C++ 2D project in 4.6? Does it happen with any other template types? It might be worthwhile doing a verify and possibly an uninstall/reinstall of 4.6.1 through Launcher and trying again. Otherwise, I might recommend building 4.6.1 from source.

It was binary version. can i ask you something more ? I see that such minimal project without starter content and anything makes 100 MB big apk. Yes i tried to make general APK and then i tried to make specific like ATC… but still it is 100 MB. It is too big, do you know which is minimal size of Paper / APK application? Because, it would need to be at least 20 MB or so, because 100 MB is too much for old devices…

Otherwise I will have to use another engine, but it is pain since it is C++, and UE4 blueprint would be faster for development. Pitty.

Thanks and regards.

Hi lukas84,

We haven’t heard back from you in a while, so I am marking this post as resolved for tracking purposes. If you are able to provide any of information requested above, please feel free to reopen and we’ll continue assisting. Additionally, if you haven’t already searched Packaging and Deployment section for your second question, please do; I believe you’ll find information you’re looking for there. Thanks!