Search Issue Tracker
Fixed
Fixed in 1.3.X - Entities, 7000.0.0a1
Votes
0
Found in [Package]
1.2.0 - Entities
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-1053
Regression
No
"Pointers and fixed size buffers may only be used in an unsafe context" compilation error is thrown when using partial ISystem
How to reproduce:
1. Open the attached project “SplitBug”
2. Observe the Console
Expected results: The are no compilation errors
Actual results: “Pointers and fixed size buffers may only be used in an unsafe context” error is thrown
Reproducible with: 1.2.0.-pre.12, 1.2.0 (2022.3.23f1, 2023.2.17f1, 6000.0.0b14)
Reproducible on: Windows 11 Pro, Windows 10
Not reproducible on: No other environment tested
Note: There is a second error message “Assets\Script\Assembly\TestSystem1.Partial.cs(17,9): error CS0103: The name 'Debug' does not exist in the current context” which seems to be related to the first one
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 7000.0.0a1):
https://github.cds.internal.unity3d.com/unity/neutron/pull/14669
Resolution Note (fix version 1.3.X - Entities):
fixed in 1.3:
https://github.cds.internal.unity3d.com/unity/dots/pull/13323