Search Issue Tracker

Active

Under Consideration for 1.3.X, 7000.0.X

Votes

0

Found in [Package]

1.3.X - Entities

7000.0.0a1

Issue ID

ECSB-1446

Regression

No

Debugger stops at commented lines of code when using ECS

Package: Entity Component System (ECS)

-

Steps to reproduce:
1. Open the attached “1981392ECSDebugBug.zip“ project
2. Open the “SampleScene”
3. Open the “Assets/Scripts/NewUnitSystemClient.cs” script
4. Add breakpoints to lines 17, 29, 37, 43
5. Press “Attach to Unity”
6. In the Editor, Enter Play Mode
7. Click “Step Over” in the Debugging session
8. Observe the results

Expected result: The debugger stops at lines which have compiled code and no comments
Actual result: The debugger stops at random lines that can be empty or comments

Reproducible in: 2022.3.53f1, 6000.0.30f1, 6000.1.0a7
Couldn’t test in: 2021.3.46f1 (because of package errors with Entities and URP)

Reproducible on: Windows 11, Windows 10
Not reproducible on: No other environment tested

Notes:

* Reproducible in Visual Studio 2022
* Reproducible in JetBrains Rider

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.