x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Unable To Launch iOS After C++ Class

So a while back I accidentally added a C++ class to my project. I have since deleted it. My project is completely blueprint-based and I would love to be able to export directly from my Windows machine. After that I also had to "Generate Visual Studio Project Files" to fix a build error I was getting. I'm not sure if this would have changed the project to code-based?

I'm getting the error on launch: "Sorry, launching a code-based project for the selected platform is currently not supported. This feature may be available in a future release."

I was hoping that deleting the C++ class would be enough but UE4 clearly still thinks it is code-based. Is there anything I can do?

Thanks a bunch in advance!

Product Version: UE 4.11
Tags:
more ▼

asked Apr 12 '16 at 02:29 PM in Packaging & Deployment

avatar image

tehhax
196 30 28 50

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi tehhax,

Unfortunately once a code class is added to a Blueprint project, it will always be considered as a code project from that point on. When a code class is added to a Blueprint project, there are some fundamental changes that take place within the project. One of these changes is that the project now requires a built .dll file in order to open it in the Editor. If you were to delete the file, you would get a notice that the .dll file is missing and ask if you want to rebuild the project.

Once a project has a binary .dll file that it needs (either because it was created as a code project or it was a Blueprint project that had a code class added to it), there is unfortunately no way to change the project into a Blueprint-only project.

Tim

more ▼

answered Apr 30 '16 at 05:02 PM

avatar image

Tim C ♦♦ STAFF
18.2k 423 69 286

avatar image tehhax May 15 '16 at 03:54 AM

That is a real bummer... I'm assuming there is no feature request for this yet? It was a late night and I had accidentally clicked "new C++ class" instead of "new blueprint class". They are right next to each other. I didn't even get a warning that said the project would now be considered C++ when i pressed create. I still thought I was creating a blueprint class.

That one tiny misclick has caused me cumulative hours of transfer when I want to test the project on iOS. It's unbearably frustrating. I am really surprised that there is no way to undo that change in any way.

How about at least for the meanwhile add a warning that you will be converting the project from blueprint to C++ and this is NOT REVERSIBLE.

avatar image Tim C ♦♦ STAFF May 16 '16 at 07:35 PM

Hi tehhax,

It has been a little while since I added a code class to a pure Blueprint project, so I wasn't really aware that there was no notification of the changes to the project that would occur. I have entered ticket UE-30832 to have the possibility of adding a warning message here investigated.

It is unlikely that we will consider being able to convert a code project to a pure Blueprint project. There are too many potential problems to be able to do this automatically and be sure that it would always work. It may appear relatively straight forward in the situation you found yourself in, but we would also need to be able to handle instances where someone added multiple code classes, edited those classes, and made several Blueprints based on those code classes.

Tim

(comments are locked)
10|2000 characters needed characters left

Perhaps this wiki page will help.

more ▼

answered Apr 12 '16 at 08:05 PM

avatar image

CleanCut
2k 65 82 77

avatar image tehhax Apr 13 '16 at 06:27 AM

Thanks for the response!

I'm actually looking for the opposite. I want to convert what UE4 thinks is a C++ project to a blueprint-only project so I can export to iOS from Windows.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question