UE5.1 & UE5.2 Local Multiplayer Fix/Tips (Gamemode Logic)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 84

  • @WildOxStudios
    @WildOxStudios  9 หลายเดือนก่อน +2

    Can Confirm Fix for skipping player 1 with gamepad is in 5.4 Preview th-cam.com/video/si6qGtC5P0A/w-d-xo.html

  • @mangogo4822
    @mangogo4822 ปีที่แล้ว +16

    Hard to believe Epic could not fix using gamepad and keyboard for 2 players since 5.3.2

    • @Alex-jb8wr
      @Alex-jb8wr 2 หลายเดือนก่อน +1

      just for any other people to see, the 'Skip Assigning Gamepad to Player 1' feature in project settings (where player 1 use keyboard and player 2 use gamepad) now works in UE 5.4 +

  • @Ansarinc
    @Ansarinc 10 หลายเดือนก่อน +2

    Thank you so much for this! Such a niche problem and I'm so happy someone made a video for a solution for this.
    For me the main problem was that the -1 in "Create Local Player" was broken. When I set the controller IDs relevant to the number of players as you suggested, that fixed it.

  • @alternativvelol
    @alternativvelol 10 หลายเดือนก่อน +4

    I can't thank you enough for this we are at a game jam right now and omg I was losing my mind. THANK YOU SO MUCH SIR!!!

  • @antho0101
    @antho0101 ปีที่แล้ว +13

    Hard to believe Epic could not fix using gamepad and keyboard for 2 players since 5.1 :(

    • @Alex-jb8wr
      @Alex-jb8wr 2 หลายเดือนก่อน +1

      just for any other people to see, the 'Skip Assigning Gamepad to Player 1' feature in project settings (where player 1 use keyboard and player 2 use gamepad) now works in UE 5.4 +

  • @marvluebke
    @marvluebke 5 หลายเดือนก่อน +1

    Dude... thank you so much.
    I watched the video multiple times (as well as others showing similar workarounds) and could still not get this to work,
    but for some reason copying your nodes from blueprintue worked.
    So if it's still not working for anyone, try copying ^.

  • @Joonas_PunnuGames
    @Joonas_PunnuGames ปีที่แล้ว +11

    If someone else have issue that 2nd gamepad do not respond on ue5.1 or 5.2, add "Delay" node right after "Beging play" event. Even 0.2 sec does the job.
    If someone knows why, I would be happy to hear the reason🤔

    • @StevenDiLeo
      @StevenDiLeo ปีที่แล้ว +5

      holy mother of god, I've spent 10 hours the past couple days trying to figure out this ONE issue. Thank you so much for taking time to leave a comment, as I've been posting in forums, asking in discord, and hunting all YT videos and comments I can.

    • @miscellaneous263
      @miscellaneous263 6 หลายเดือนก่อน

      Thank you

  • @uqasz2448
    @uqasz2448 ปีที่แล้ว +1

    God, i tried 2hours today with my project to work with 2 players... :D (already have 2 spawned characters, tried with possesing but without maping like you, thanks.

  • @greencheeze6780
    @greencheeze6780 10 หลายเดือนก่อน +1

    Oh my god, you gave me the answer to all my problems

    • @greencheeze6780
      @greencheeze6780 10 หลายเดือนก่อน

      Nevermind I was just in stand alone

  • @KoshakiDev
    @KoshakiDev 7 หลายเดือนก่อน +1

    Amazing, this worked! Thank you very much

  • @feostun8385
    @feostun8385 9 หลายเดือนก่อน +1

    Большое тебе спасибо, очень помог!

    • @WildOxStudios
      @WildOxStudios  9 หลายเดือนก่อน

      Добро пожаловать

  • @srawdawg6188
    @srawdawg6188 6 หลายเดือนก่อน +1

    You sir a genius, thank you!

  • @jacobdavis6015
    @jacobdavis6015 ปีที่แล้ว +2

    I followed everything but for some reason each player start spawns 2 characters but only one is playable. 2 player splitscreen works when i have 2 spawns but then theres 2 other uncontrollable characters just standing there. Any help is appreciated
    EDIT: And just like that i figured it out. "Default Pawn Class" had to be set to "None" in Project Settings. Idk if that was covered in the video or not but it works now. THANK YOU for this video, it was a life saver!

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      Yup that was covered but great to point out again for others 😎

  • @sunnymon1436
    @sunnymon1436 ปีที่แล้ว +4

    UE5 is so broken. I can't believe they released it in the condition they have.

  • @kingragner55
    @kingragner55 6 หลายเดือนก่อน +1

    you are the best bro

  • @lowearthsurfer
    @lowearthsurfer 2 หลายเดือนก่อน

    I want to french kiss you, you magnificent cosmic space wizard you! Damn good tutorial

  • @gamedevdanny
    @gamedevdanny หลายเดือนก่อน +1

    Bro thank you!

  • @imigratingbox
    @imigratingbox 6 หลายเดือนก่อน

    Unreal Engine Still hasnt fixed this issue in 5.4 . Thanks you for helping me.
    (EDIT): Nvm i cant even edit the damn gamemode to start making the changes

    • @WildOxStudios
      @WildOxStudios  6 หลายเดือนก่อน

      You need to make your own gamemode class ... I show how to do this here th-cam.com/video/QSnUqHF6X0M/w-d-xo.htmlsi=Do7sXNAQN0YFTZIf&t=137

    • @WildOxStudios
      @WildOxStudios  5 หลายเดือนก่อน

      I've also provided updated examples on my patreon and a link to copy the gamemode code.

  • @yourilaflamme4262
    @yourilaflamme4262 ปีที่แล้ว +1

    thank you this video saved my sanity !

  • @Izmolio1
    @Izmolio1 6 หลายเดือนก่อน

    I have a question and I hope I explain this well enough. I'm creating a couch coop game in 5.4 and I have it setup so player 1 selects their character at the main menu (level). Once loaded into the new level, there is an option to allow a second player to join and select their own character (does not load a new level once in game). At this point the game goes into split screen and sets player index properly. However, I can't seem to get my controller reference correct. Due to this, when I toggle my inventory to open, it will add to each player's separate screen as it should BUT the data loaded into player 2's menu will be information from player 1 instead.
    I'm trying to create a similar system to Outward. Where player 2 can create/select their own character in player 1's game instead of having to create 2 separate games and forcing the person to create a single player game and multiplayer game with different progression. Would you be able to do a tutorial on that method?
    -Update-
    So... I actually just figured it out. When I toggled the inventory/ingame menu I was casting to third person character and using get player character as the object while piping in the player index. However, what I needed to do was use the same cast with get owning player pawn and left the target to self. I love it when I try to figure it out, ripping apart all the blueprints just to learn it was one simple node.

  • @s3armoredyt849
    @s3armoredyt849 ปีที่แล้ว +1

    Is there a tutorial u can make where when u hit a key on the controller it connects it to game. so like if u have 4 controllers plugged in but want to use 3 u just don't have to hit 1 of the buttons on one of the controllers

    • @WildOxStudios
      @WildOxStudios  11 หลายเดือนก่อน

      I have a template on the marketplace that does this. Also the Wildox discord also has examples and tutorials that go over this. th-cam.com/video/SAxCW26nJX0/w-d-xo.htmlsi=j6IcypLFSOQeW_Zd

  • @OPGaming17
    @OPGaming17 6 หลายเดือนก่อน

    tried this, and it works to an exent.
    When placing player spawns it spawns a duplicate character at each player spawn.

    • @WildOxStudios
      @WildOxStudios  6 หลายเดือนก่อน +1

      @@OPGaming17 it spawns a player for each player start as its setup on the loop if you don’t want that then you’ll need to change the for each player..... Right here th-cam.com/video/QSnUqHF6X0M/w-d-xo.htmlsi=3UxY-WEOY2T1oekc&t=283 this loop says for each player start add an index. If you want 4 and only 4 players (but still want to have more than 4 player starts) then you'll get a random player start then use a for loop 0-3 (total of 4) at that random location.

  • @WildOxStudios
    @WildOxStudios  5 หลายเดือนก่อน

    Update for UE5.4 and Camera Manager - th-cam.com/video/gD8O2qC0ybM/w-d-xo.htmlsi=KGHRECdnnP43-MBl

  • @Nimrod897
    @Nimrod897 4 หลายเดือนก่อน +1

    Thank you

  • @gillianbayne3
    @gillianbayne3 8 หลายเดือนก่อน

    Hi!! Thank you so much for the tutorial :) it works for me, except that my player one doesn’t spawn / load. Like it’ll do the thing where it shows a view of a bit of the third person map. The other three work though. Do you know what could be causing this issue?

    • @WildOxStudios
      @WildOxStudios  8 หลายเดือนก่อน

      Sounds like you have missed the branch for the get index 0 and skipping the context vs pulling from the index. Also I have a discord if you’d like to pair up and resolve

  • @tommywright
    @tommywright 9 หลายเดือนก่อน

    How do we get the driving template to work. It doesn't seem to have the Enhanced Input Local Player Subsystem but still doesn't work with local multiplayer.

    • @tommywright
      @tommywright 9 หลายเดือนก่อน +1

      Nevermind... that Enhanced Input Local Player Subsystem node worked fine in the driving template also. Thank you so much!!!

    • @WildOxStudios
      @WildOxStudios  9 หลายเดือนก่อน

      th-cam.com/video/LUKCMn9ssn8/w-d-xo.htmlsi=-pRQ8kYeYQmD4lde

    • @tommywright
      @tommywright 9 หลายเดือนก่อน

      @@WildOxStudios Amazing.. thanks!!

  • @AndrewShusterman
    @AndrewShusterman 8 หลายเดือนก่อน

    You my sir, are the goat

  • @tlh5145
    @tlh5145 11 หลายเดือนก่อน

    could you tell me how to do this if im not using the new enhanced input system, currently nothing has changed and both controllers control same player

    • @WildOxStudios
      @WildOxStudios  11 หลายเดือนก่อน

      This isn’t an issue with the EIS this is an engine bug introduced when they added it. There isn’t a way to skip the controller for player 1 until epic fixes the bug the project setting doesn’t work anymore regardless of if you use the legacy input or EIS

  • @JakobESG
    @JakobESG 8 หลายเดือนก่อน

    I dont want a SplitScreen, I actually need two windows. But for some reason in the Build Game only one instance of UnrealEngine opens, any Idea how to solve that?

    • @WildOxStudios
      @WildOxStudios  8 หลายเดือนก่อน

      You’ll need to actually launch 2 standalone instances using the launcher options in the advanced settings of the pie …. Or you can build and run two copies. The parameter for number of players will usually launch 2 separate windows to test network multiplayer. You can set the network type there as well (listen server, client)

    • @JakobESG
      @JakobESG 8 หลายเดือนก่อน +1

      @@WildOxStudios Ahhhhh, I see that helps already! Thank you for that fast response.

  • @juegaconyisas3061
    @juegaconyisas3061 ปีที่แล้ว +1

    Hola amigo, aun unreal motor 5.3 tiene este mismo problema. ¿Cómo lograr que funcione un jugador con teclado y el otro con el mando?

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว +1

      Lo siento. Tenemos que esperar a que Epic solucione el error del motor, ya que el problema es una configuración del proyecto dentro del código del motor.

    • @diegoveazquez6046
      @diegoveazquez6046 ปีที่แล้ว

      @@WildOxStudios Todavia no hay solucion?

  • @mathraww
    @mathraww 10 หลายเดือนก่อน

    Hi everyone, I'm using this exact same logic to make my local multiplayer game but when i use the restart game node or the open level by name to re-open the level, the controller for the 2nd player stop working and the error tells my that the mapping context is empty for the second player. Does anyone have a solution ?

    • @WildOxStudios
      @WildOxStudios  10 หลายเดือนก่อน

      Go back to the context branch section and be sure you’re not resetting it for index > 1.

    • @WildOxStudios
      @WildOxStudios  10 หลายเดือนก่อน

      Don't pull from the "recreated" controller use the current index variable to check vs recreating because in this case the controller already exists (restart level or load level)

    • @mathraww
      @mathraww 10 หลายเดือนก่อน

      @@WildOxStudios thx for the quick answer but i don't get what you want to say

    • @mathraww
      @mathraww 10 หลายเดือนก่อน

      @@WildOxStudios I'm a beginner and I'm not english sorry ^^

    • @WildOxStudios
      @WildOxStudios  10 หลายเดือนก่อน

      @@mathraww I offer support in my discord and there may be others that speak your native language there as well

  • @realmcafee
    @realmcafee ปีที่แล้ว

    is there a workaround that the first gamepad controls player 2 ?

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      Not yet unfortunately without c++

  • @davidtamaslaszlo4922
    @davidtamaslaszlo4922 ปีที่แล้ว

    Hi i wonder is it been resolved? Because i still have this problem.. In UE4 in my game players can select from two character .. they can select if they want to controll the caracters with keyboard or controller.. but if i open my project in UE5 no matter which character been selected both keyboard and controller controls only player 1 .. According to the error ticket on UE s website the problem been resolved in UE 5.3 but its still doesnt work .. at least in my case..

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      Still a targeted fix for 5.4… so no it’s not fixed in ue5.3

    • @davidtamaslaszlo4922
      @davidtamaslaszlo4922 ปีที่แล้ว

      Thank You for the quick reply ...damn.. lol gues i have to stay in UE4 for now.. tbh i cant believe that they cant fix this i mean am i the only one working on this type of a game .. is couch coop really dead ?? @@WildOxStudios

    • @LebronJames-is2rk
      @LebronJames-is2rk ปีที่แล้ว

      have you try 5.0.3, it's work well for me. keyboard control player1, andr GamePad control Player2. with C++

    • @davidtamaslaszlo4922
      @davidtamaslaszlo4922 ปีที่แล้ว

      Hi.. Thank You for your answer.. Unfortunately i am really not in to c++ .. But doest the method above works under UE 5.0.3 as well? Or its just with c++ code?@@LebronJames-is2rk

    • @davidtamaslaszlo4922
      @davidtamaslaszlo4922 ปีที่แล้ว

      Hey.. after the weekend i had time to try it in UE 5.0.3 and i can confirm that it works perfectly there ..even without using c++ code ...@@LebronJames-is2rk

  • @GiulianoVenturo
    @GiulianoVenturo ปีที่แล้ว

    is it possible to have (P1 = Keyboard&Mouse, P2 = Gamepad)? Because I only have one xbox controller but I'm trying to make some test with "2 player controllers" but I dont have an extra xbox controller so I'm trying to set up my keyboard as another "player controller"

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      It is possible in ue4 but as others have noted ue5.1 & ue5.2 have a bug that doesn’t respect the project setting that allows for this.

  • @bruninhohenrri
    @bruninhohenrri ปีที่แล้ว

    Bruh i'm having the strangest bug ever on 5.1.
    I did this and for a really unknown reason my 2nd pawn is possessed and unpossessed like some couple os seconds later. I can press the keys on the 2nd 3 or 4 times and after that the input stop working WTF

    • @bruninhohenrri
      @bruninhohenrri ปีที่แล้ว +1

      I finally got it OMG THANKS MAN you are a fucking god.
      I was just spawning the second player too far and the game ans destroying it

  • @Nak.nupschie2233wiki
    @Nak.nupschie2233wiki 7 หลายเดือนก่อน +1

    thank you sooo much :)))

  • @birukyohannes5723
    @birukyohannes5723 ปีที่แล้ว

    thank you but can i ask how to do keyboard plus controller

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      You need 2 gamepads no matter what (gamepad 1 & keyboard = player 1) gamepad 2 = player 2

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      UE5+ skip player 1 for gamepad option is bugged

  • @silversoul2785
    @silversoul2785 5 หลายเดือนก่อน

    how to make it that it is not split screen.?

    • @WildOxStudios
      @WildOxStudios  5 หลายเดือนก่อน +1

      @@silversoul2785 I have a product on marketplace that does this called couch coop local multiplayer template but essentially you’ll need to code a camera manager and remove the split screen bool in project settings. I added another tutorial on my TH-cam channel that goes over this 😎 Thank you for the suggestion! th-cam.com/video/gD8O2qC0ybM/w-d-xo.html

  • @kg.eb_wrk
    @kg.eb_wrk 10 หลายเดือนก่อน +1

    Thanks!

  • @DignitGR
    @DignitGR ปีที่แล้ว

    im getting no player state and no controller for the second player

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว

      Your not going to unless you have 2 gamepads connected and you have more than one playerstart in the scene as that is what is used to create the local player index

    • @WildOxStudios
      @WildOxStudios  ปีที่แล้ว +1

      Keyboard and gamepad1 = player 1. Gamepad 2 needs to be on and connected before testing to get player 2

    • @DignitGR
      @DignitGR ปีที่แล้ว +2

      @@WildOxStudios thanks i followed with a clean project and it works.Only Tut i tried in whole You Tube that works

  • @diegovelazquez3851
    @diegovelazquez3851 10 หลายเดือนก่อน

    Not working in 5.3.2 :/

    • @pb-fo9rt
      @pb-fo9rt 8 หลายเดือนก่อน

      It works! Add a delay node after begin play and also in projext settings set default pawn class to none.

  • @connormcnamara825
    @connormcnamara825 8 หลายเดือนก่อน

    You are the goat

  • @danyilbulavskyi8395
    @danyilbulavskyi8395 6 หลายเดือนก่อน

    Savior