CossonWool Posted November 14, 2019 Share Posted November 14, 2019 (edited) I had an image button that worked fine, but when I change the image/atlas it stopped being interactive. I confirmed that the image/atlas change was the cause by swapping back to the old image/atlas and it worked again; there's no other changes in code. Does anyone know what might be making the new image/atlas cause the button to be non-interactive? It correctly shows the new image, and doesn't give any warning in any log so I've got no idea what's going wrong. Update: So, it turns out I had the xml values of v1 and v2 in each others fields. Should have been obvious but I never checked. For if anyone stumbles across this in future, v1 should be less than v2, and u1 should be less than u2. If you have those values the wrong way around there will be no error or warning logged, and the image will display correctly, but it will be non interactive. Why doesn't the game exit and give a crash message, or at least log a warning? I have no idea. Edited November 24, 2019 by CossonWool Updated with solution Link to comment https://forums.kleientertainment.com/forums/topic/113537-help-imagebutton-becomes-non-interactive-after-changing-image-and-atlas/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now