i made the misttake to just assume that this, and things like this. would also work in version 3.4.0.5. without a null pointer on runtime, but they dont, leaving this to v 3.4.0.3 i guess. so, what went bad in 3.4.0.5, throwing null pointers on managed structs beiing read or written in in any other structs function?
possibly i initialized it wrongly? no, i tested my own minimal basic managed structs and very simple getter functions, and keep getting null pointers. maybe i am missing someting essential with managed structs?
stuff as simple as
Code: ags
possibly i initialized it wrongly? no, i tested my own minimal basic managed structs and very simple getter functions, and keep getting null pointers. maybe i am missing someting essential with managed structs?
stuff as simple as
managed struct Managedstruct{
int x;
}
struct containsmanagedstruct{
Managedstruct value;
import ManagedstructGet();
}
void containsmanagedstruct::ManagedstructGet(){
ms; ms= new Managedstruc;
int i = this.Managedstruct.x; //gets me a null pointer
}