Jump to content

ImageButton changes for virtual controls break old behaviour


penguin0616
  • Fixed

ImageButton (and Button, but Button does not have the virtual control changes for some reason) used to implicitly support having a nil control value (done in order to avoid certain interactions) since it was just an equality check. The new call to ResolveVirtualControls expects self.control to be present, causing a crash if it is missing.

image.png.10bbebfc21a241b297deb86c03808a05.png


Steps to Reproduce

1. Interact with a UI that eventually propagates the OnControl event to an ImageButton

2. Crash




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...