Search Issue Tracker

Active

Under Consideration for 1.3.X, 7000.0.X

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

Package: Entity Component System (ECS)

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.