This works in a 4.11 project but not a 4.12 one that I’m currently working on. This project hasn’t been upgraded or anything. But doing the same exact thing in both versions yields different results unfortunately.
4.12.5 is currently installing and once it’s done I can check if that fixed it in this project and/or I can see if it’s fixed in a newly created 4.12 project.
My Guesses:
- There was a Widget Component change in 4.12 (kinda unlikely given that no one’s saying that it’s missing)
- I changed an editor/project setting which causes this bug to occur. I’ve reset my “Show” options to their default settings and went through all of them to see if anything was disabled that seemed useful.
- Some sort of corruption that isn’t fixed by creating new assets, reloading the editor, and loading a new level (things I’ve done so far)
My current reproduction that works in an existing 4.11 project but not an existing 4.12 project: (Compile and save where it makes sense)
- Create Widget BP
- Add a button to the canvas and scale it manually to more or less fill the canvas. Sloppy is okay.
- Create an Actor BP
- Add a Widget Component
- Select the Widget from the dropdown
- Eyeball it in the BP Viewport and change scale settings as desired. Everything else remains the same.
- Drag and drop the actor into the level.
4.11: Button is visible both in editor and ingame.
4.12: Only the Scene Root is visible in editor. Button is visible ingame.
===
I’ve tried selecting the component in the world editor and pressing F but that just Zooms me out HARD. Rotating, moving back and forth, ect. does nothing from here.
Edit: As expected, 4.12.4 -> 4.12.5 didn’t magically fix it. Recreated it as stated above to no avail.
I’m now attempting a new project reproduction test.
Edit: This was a failure. Now attempting to reset more settings in an attempt to fix this.
Simply deleting everything inside of the config folder of the project I’m working on fixed it. I’ve got a backup I made beforehand but uh… yeah it works?