Search Issue Tracker

Fixed

Fixed in 1.0.0

Votes

0

Found in [Package]

0.50.1

1.0.0

Issue ID

ECSB-4

Regression

No

Error CS0234 when there is a system in a namespace that ends with the name of its components' namespace

Package: Entity Component System - Bugs

-

branch: release/dots-0.51

Reproduction steps:
1. Open the user's attached project "1230507_ErrorECS.zip"
2. Observe the Console window

Expected result: No errors in the Console window
Actual result: An error is thrown:
"Temp/GeneratedCode/Assembly-CSharp/ExampleSystem__System_1971733846.g.cs(30,71): error CS0234: The type or namespace name 'Module' does not exist in the namespace 'SomeName.Module.SomeName' (are you missing an assembly reference?)"

Reproducible with: 0.17.0-preview.42, 0.50.0-preview.24, 0.50.1-preview.2 (2020.3.34f1)

  1. Resolution Note (fix version 1.0.0):

    This is now fixed with the upcoming Entities 1.0.1 patch release.

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.