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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
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