Hey, recently I added the CommonUI plugin into my main projekt. I managed to accomplish everything in this tutorial (URL) except for one thing: The “CommonActionWidget”!
I checked everything, every setting, every file but somehow I cannot bring the CommonActionWidget to work… nothing shows up when testing.
What I also tried was to create a new, empty project and start the tutorial again from scratch. In this new project everything workes properly! The icons show up. So this leads me to the conclusion, that there is some kind of conflict in my original project. Maybe some setting in the project-settings?
To clear up things, my main project is some years old now and was created in around UE 5.0 or 5.1. Since then, the project has been upgraded with each UE version until 5.4 (currently using).
So my question is: What is wrong here? Why does it work in a new, empty project, but not in my main project? How can I make it work?
Btw.: I have tried both, using the “CommonActionWidget” with and without “EnhancedInput”, without any result.
Also, here is a list of steps I took to setup the CommonUI-Plugin:
Setup Check:
- In ProjectSettings under "Engine > General Settings":
+- Under "Game Viewport Client Class" set "CommonGameViewportClient"
- In ProjectSettings under "Game > CommonInputSettings":
+- Set custom "CommonUIInputData"
+- Set "DefaultInputType" to desired type
+- Check "SupportsGamepad"
+- Set "DefaultGamepadName", write down what is used in "CommonInputBaseControllerData" for "Gamepad Name" (e.g. "Generic")
+- Add custom "ControllerData" for Keyboard (first element)
+- Add custom "ControllerData" for Gamepad (second element)
+- Optional: Check "Enable Enhanced Input Support"
- In custom "CommonUIInputData":
+- Set "Click Action"
+- Set "Back Action"
- In custom "CommonInputBaseControllerData" for "Keyboard":
+- Set "InputType" to "Mouse and Keyboard"
+- Add "InputBrushDataMap"-Elements as many as needed
- In custom "CommonInputBaseControllerData" for "Gamepad":
+- Set "InputType" to "Gamepad"
+- Set "Gamepad Name" to "Generic"
+- Optional: Set "Gamepad Display Name" to "Gamepad"
+- Optional: Set "Gamepad Platform Name" to "Windows"
+- Add "InputBrushDataMap"-Elements as many as needed