Hello. I've been having problems with my game's android export so I tried with the AC demo but I'm having the issue mentioned in the title, the repro steps are the following:
- Create new Unity 6000.0.31f1 project
- Import AC 1.82.1 to project.
- Open Basement scene.
- In Player settings:
a) Override Default Bundle Identifier: Uncheck
b) Active Input Handling: Input System Package (New)
- Create a new game using the New Game Wizard: 2D/Point and Click/Mouse and Keyboard/Context Sensitive/No sample player or scene.
- Download and import the AC_InputSystemIntegration package
- Install the Input System integration template by running the New Game Wizard
(At this point, I usually do a quick test and the scene works perfectly in the editor)
- In Build Profiles:
a) Remove SampleScene and add Open Scenes (Basement) to the Scene List
b) Switch to Android platform
c) I'm using Unity Remote app so I change the Run Device to my phone
- Click Build and Run
Game launches but Menus don't display and touch is not detected.
Same happens without Unity remote, did a build, send to my phone and installed manually. (prob unrelated)
I tried with the old Input Manager and everything works well.
I also tried the same steps with unity 2022.3.54 and everything works perfectly.
I'd appreciate any insights maybe I'm skipping any steps?
Comments
Does launching within the Editor cause them to display? I'm unsure how the two would correlate, but I'll follow the steps to attempt a recreation.
When using the New Game Wizard, what's your "Default interface" set to on the last page before asset generation?
Thanks Chris.
Yes, the game works correctly in the editor and when I export to the desktop. Only having issues with android build.
Sorry I don't follow... what would correlate with what?
The Default Interface is set to Adventure Creator.
The presence of Input System and the disappearance of the Menus.
I've followed the steps, but the main issue I'm seeing is the use of the Basement scene to test with.
The two demo scenes both force the use of their respective Managers - any created with the New Game Wizard will be ignored when running them, by default.
I recreated the issue, but after removing this enforcement (so that the new game's Managers were now assigned) the issue resolved itself, with Input System still present.
You can remove the restriction manually from the scene's GameEngine object, and clearing the Scene Settings component's "Required Manager Package" field.