-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect alignment of reference struct within a struct on Mono #90531
Closed
UnityAlex opened this issue
Aug 14, 2023
· 1 comment
· Fixed by #90632 or Unity-Technologies/mono#1811
Closed
Incorrect alignment of reference struct within a struct on Mono #90531
UnityAlex opened this issue
Aug 14, 2023
· 1 comment
· Fixed by #90632 or Unity-Technologies/mono#1811
Labels
Comments
dotnet-issue-labeler
bot
added
the
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
label
Aug 14, 2023
vcsjones
added
area-VM-meta-mono
and removed
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
labels
Aug 14, 2023
cc @vargaz |
vargaz
added a commit
to vargaz/runtime
that referenced
this issue
Aug 15, 2023
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 15, 2023
vargaz
added a commit
that referenced
this issue
Aug 16, 2023
ghost
removed
in-pr
There is an active PR which will close this issue when it is merged
untriaged
New issue has not been triaged by the area owner
labels
Aug 16, 2023
UnityAlex
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 16, 2023
UnityAlex
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 16, 2023
UnityAlex
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 16, 2023
6 tasks
DanRandom
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 23, 2023
Merged
6 tasks
DanRandom
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 23, 2023
Merged
6 tasks
DanRandom
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 23, 2023
Merged
6 tasks
DanRandom
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 23, 2023
Merged
6 tasks
DanRandom
pushed a commit
to Unity-Technologies/mono
that referenced
this issue
Aug 23, 2023
Merged
6 tasks
ghost
locked as resolved and limited conversation to collaborators
Sep 15, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When creating a struct that has another struct within and reading/writing the alignment used is incorrect. This leads to incorrect memory being accessed for values .
Reproduction Steps
Build & run the following
Expected behavior
Output:
Actual behavior
Output
Regression?
Not that I'm aware of.
Known Workarounds
Using explicit struct layout avoids the alignment issue.
Configuration
Version:
8.0.100-preview.3.23178.7
OS and (architecture): Reproduced on both OSX (arm64) and Windows (x64)
Mono only.
Other information
No response
The text was updated successfully, but these errors were encountered: