Hi, I’ve been encountering this problem on my main project and I was able to replicate it in another project. When I try to change the style of my input key selector with a button style with blueprints, the engine crashes. In visual studio the problem seems to be caused by a dereference of a pointer that is pointing to a forbidden memory location (not null). Am I missing something or is this an engine bug?
Im having the same problem If you found any fix for this please let me know.
I found that if you use the OnInitialized Event to set the style dynamically then it will work.
Hi, your solution works but I was trying to do something different. I wanted to change the style dynamically depending on the state of the key selector, not just when it is initialized. I think that it is an engine bug and as a workaround I used borders and changed their style instead of the key selector. Anyway, thanks for the answer!
Good Idea. I ended up making a copy of the class in C++ and exposed the Style setter function to blueprints and this worked good. Setting the style through the actual variable was marked as deprecated. Now I’ve only got one more problem, padding the selected key text or keeping the input key selector always the same size.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.