• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Justyna Dorsz

  • Blog
  • Store
  • Contact
  • About

Bug

Unity Input System vs Rewired

My brother and I spent another day trying to solve the issue with gamepads in Unity. To recap: if you start the game and plug in your gamepad while the Unity splash screen is displayed, the game will not recognize that a gamepad is connected.

We reported it as a bug to Unity but so far they haven’t approved the report. Even if they approve it, they might not fix it as there are plenty of more serious bugs reported. And even if they planned to fix it, it might take weeks before there’s a patch. The last release of Unity Input System was over two months ago, and it was just a preview version, meaning it’s most likely not ready to be used in final products.

We can’t wait for the fix, we need to solve it in Summer Paws somehow. It looks like we will use Rewired to handle gamepad input but in order to do that we need to do a few things:

  1. Rewired is not compatible with the new Unity Input System, so we need to completely remove it from our game. It means huge changes in many places in our project.
  2. We need to overhaul how we handle user input in user interfaces (menu, options, all other windows). Input System made handling user interfaces easy but we can’t use it anymore.
  3. We used the Unity Collaborate tool to sync the project between my and my brother’s computers so that we could both work on it. If you want to make a very simple game, then Collaborate is fine. But at this point, we need to switch to Git.
  4. Rewired fixes issues with gamepads but introduces other problems, e.g. it crashed a few times when we were testing it. But maybe it was because we were using a trial version only. Regardless, it will require a few days of testing to make sure it doesn’t break anything in our game.

Edit (June 6th, 2021) Rewired was easier to use than expected. Unity hasn’t fixed the bug yet, but at least they are tracking it now: [Input System] Gamepad is not recognized when it is connected during splash screen

April 13, 2021 Tagged With: Bug, Games, Summer Paws, Unity

Connecting gamepad during Unity splash screen bug

Three days ago I wrote that our Summer Paws game got rated by ESRB and it’s suitable for all players. We need an ESRB rating in order to receive a certification to have our game published on one of the platforms.

But just a day later we got a report that there’s a bug in Summer Paws.

The bug is reproducible in the following steps:

  1. Make sure you don’t have a gamepad connected to your computer.
  2. Start the game.
  3. When the Unity splash screen is displayed, connect the gamepad.
  4. The gamepad doesn’t work in the game.

Somehow connecting a gamepad when a game is starting causes Unity to not recognize that a device gets connected. The player needs to disconnect their gamepad and connect it again for it to start working. But we can’t force a user to have to do that, we need to fix this.

My brother and I have been trying to solve this issue for the past two days. No success so far.

It might be a bug in Unity, we will report it. But we would still like to find a way to solve it on our end somehow. We have been testing Rewired which is a third-party tool for managing input in Unity but it’s too early to say if it solves the issue.

April 12, 2021 Tagged With: Bug, Games, Summer Paws, Unity

Primary Sidebar

About Me

My name is Justyna. I am an artist and an indie game developer.
What am I doing now?

Let’s connect!
@JustynaDorsz

LINKS

Cat Book Newsletter
Fox Shiver – my designs!
TRUFFLEPIG – cats!
Our Games

  • Instagram
  • Pinterest
  • RSS
  • Twitter

My designs

AND MORE…

I rarely send something...

Popular posts

  • Can you make money on Threadless?
  • The Last Psychiatrist
  • reMarkable 2 Review
  • Unity Input System vs Rewired
  • Footprints with Visual Effect Graph in Unity
  • My most popular design ever
  • Why you don’t see your designs on Threadless
  • Roam Research – Templates
  • Etsy accepts fake DMCA counter notices
  • I hired a law firm

USEFUL

DMCA Template

Topics

  • Advice (34)
  • Art (13)
  • Artist Life (13)
  • Cats (65)
  • Copyright (15)
  • Design (89)
  • Dogs (9)
  • Games (12)
  • Law (11)
  • Mindset (28)
  • Miscellaneous (14)
  • Money (12)
  • Our book (14)
  • Personal (20)
  • Productivity (10)
  • reMarkable (11)
  • Stats (11)
  • Threadless (33)
  • Threadless Artist Shop (15)
  • Work in progress (12)

Footer

  • Instagram
  • Pinterest
  • RSS
  • Twitter

Newsletter

Justyna Dorsz · Copyright © 2012–2023 · Log in