Gamma_Draconis
Gamma_Draconis
CC#
Created by Lukas on 2/12/2025 in #help
ERROR CS0111
Something is defining Start() already and the question is what. The class definition you've given isn't partial, which means it isn't either a source generator or another code file... Does the unity toolchain do any kind of compile time code generation?
30 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
get_Raw being the Raw property's getter
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
According to the exception stack trace
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Wait, no, not that... This
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
That's as far as I can go.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Something about this isn't right, in this particular circumstance.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
This is a runtime level exception, it wouldn't let anyone try to catch them.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Padding and so forth add into that
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Signatures affect method calls only, memory layout affects objects and data structures in memory
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
If they're using constant field offsets, that could screw things up.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Memory layout can change between windows and linux.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
So I don't think this is on you at all, given that definition.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
If new CCSPlayerController(ptr); doesn't work, I imagine it's a bug in the framework's code somewhere.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Or is the caller in Native?
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Do you control what's passed as the first argument at all?
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
It looks like, according to the stack trace, the general setup is supported, but something's not being looked at right. Talk to a maintainer, see what they think.
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Why wouldn't that work? Do you know?
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Could it be that it needs to be written out as h.GetParam<CCSPlayerController>(0)? Or does that not work?
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Wait..
103 replies
CC#
Created by elpupper on 6/22/2024 in #help
System.AccessViolationException In windows but not in linux
Nah, you're good. lol
103 replies