Hello1423
Member
I am very confused by an issue I am running into involving structs.
Basically, I would like to show some structs as text(for debugging), but sometimes using show_message on a struct causes a hard crash.
Here is some code that crashes my game instantly without any error log.
It shows tests 1, 2, the correct x value, and 3, but not test 4. Instead, it hard crashes. Usually, show_message works just fine with structs as expected, but not now for some reason.
Does anyone have any idea why?
Basically, I would like to show some structs as text(for debugging), but sometimes using show_message on a struct causes a hard crash.
Here is some code that crashes my game instantly without any error log.
Code:
show_message("test 1")
if is_struct(_current){
show_message("test 2")
show_message(_current.x)
show_message("test 3")
show_message(_current)
show_message("test 4")
}
Does anyone have any idea why?