I don't know what is the solution for mixed my Bp project with c++ class

my UE 4 both : (the source code version or the standard version) can see VS 2017 that is ok but the problem my projects with Bp when i open them can’t see vs 2017 for add c++ class and ask for install VS 2017…if i try generate the projects files say no c++ in this projects and not generate them…i don’t know what is the solution for mix my Bp project!

i fix that by creating empty new game with c++ and i paste copie of the content and plugins files from my bp game and i create new character and gamemode classes and all ok but when i press play the window open and no character spawn and can’t move with my input keybord or touch…anyone have idea why that happen ?

for the game mode i create new one with c++ class for be parent and i create c++ class too for the character for be the parent class of my base Bp character…so i try the both gamemode the new c++ one and my old gamemode of the project…my character spawn in the main menu map and in the lobby map but for the gameplay map not spawn and the view fixed on the screen…

when i open UE4 standard editor or UE4 source code editor i can see vs 2017 intalled and i can create c++ class for new project but the problem when i open BP project already created so both editor ( source code or standard editor ) can’t see VS and if i want create c++ class ask me for install VS 2017…you know solution for this issue? that will help me more and better than copy paste my content from bp project to new empty c++ project and thank you for your message!!

So a few things to check, in your level view the World Settings and set your Gamemode in the override field.
Make sure your character is set as the default pawn in your Gamemode. And also check that your player controller is set and set it to auto possess.

And you’re sure your gameplay Level has the correct Gamemode and character set? Seems odd that two levels are fine and only one is misbehaving.

Is you project BP or C++?

Don’t think it’ll help. This is something that you’ll need to debug. You could be right about Z-kill, if your character spawns and collides it could be preventing the spawn. There is an option when spawning to spawn regardless of collision, you could try that.

yes i am sure i think possible kill z is the problem? because my gameplay map is big and possible the pawn destroyed before spawn! but if that can be true the problem i can’t edit my gameplay map because i have 12 sublevels for that level

i can send you files like config or any file for you can undrestand what happen?

my project is bp is fine the character spawn and all fine but i need mixed this project so i copy just the content folder and i paste it inside new empty c++ project i create it for mixed my project because i need it mixed for making dedicated server…

before the editor open the project always this warning message appear : default property warning and error:

error: CDO constractor (my game gamemode):failed to find path …character_bp

with always spawn ignore collision the character spawn but input not working

ok! i will do that now! but by the way my inventory and touch control and main widget not appearing! is clean screen

When you edit your gameplay gamemode is the default pawn set? If it’s set to your character_pc can you open the character_bp without errors?

So your playercontroller has an auto possess checkbox, try set that to true. If your PC is created from your c++ class add break points to your input methods,otherwise if your PC is only BP add some print nodes to confirm your input events arefiring

my freind i succesed to create mixed project for my BP project and all working fine now! what i do? i create new project c++ with the blank tamplate and no starter content (empty c++ project) with the same name of my bp project then VS start for calculated the new project… i close the unreal editor then i build with VS…after building finish i delete content folder from my new C++ project then
i copy from my bp project 3 folders : content folder,plugins folder and config folder and i paste them inside my new C++ project and i accept the replace of the config folder then i build vs for compiling with the new folders after that i open again my new c++ Uproject and my game mixed and all work without bugs and i can now create c++ classes for my game project…:slight_smile:

Excellent, glad I could assist. Happy coding :slight_smile: