Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

0.51.0

Issue ID

ECSB-65

Regression

No

[DOTS] GenerateAuthoringComponent causes errors when declaring variables with the Private access modifier

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the attached "1411306.zip" project
2. Open the Console window

Expected result: No errors
Actual result: "error CS0122: 'NewBehaviourScript.privateInt' is inaccessible due to its protection level" is thrown

Reproducible with: 0.51.0-preview.32 (2020.3.37f1, 2021.3.6f1)
Couldn't test with: 0.17.0-preview.42 - Deprecation causes errors

Reproduced on: macOS Monterey 12.0.1

Note: Reproducible on a new project

  1. Resolution Note:

    There are no fixes planned for this Bug

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.