Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.3.2 - Entities

Issue ID

ECSB-1431

Regression

Yes

Code generation failure using IAspect.Lookup within IJobEntity.

Package: Entity Component System (ECS)

-

*Steps to reproduce:*

1. Open the "CodegenIssue" project

2. Open the "OutdoorsScene" scene

3. Enter Play Mode

4. Observe the Console window

*Actual results:* No errors

*Expected results:* Exceptions are thrown "System.Exception: This method should have been replaced by source gen."

*Reproducible with versions:* Entities 1.3.2, Editor 6000.0.23f

*Tested on (OS):* MacOS, Windows{*}{*}

 

*Notes*
* Copying the generated {{Lookup}} implementation into the {{IAspect}} struct, and renaming {{Lookup}} to something else temporarily resolves the exceptions.

  1. Resolution Note:

    null
    Duplicate of another internal issue: ECSB-1420: “Exception: System.Exception: This method should have been replaced by source gen.” errors are thrown when using IJobEntity with Aspect.Lookup

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.