Search Issue Tracker
Fixed
Fixed in 1.0.0, 1.1.X - Entities
Votes
4
Found in [Package]
1.0.0
Issue ID
ECSB-122
Regression
No
ObjectDisposedException and ArgumentException errors occur when selecting an entity and exiting Play Mode
How to reproduce:
1. Open the attached “nonrendering-1” project
2. Enter Play Mode
3. Open Scene view
4. Select the gray cube
5. Exit Play Mode
Expected result: No errors occur in the Console
Actual result: “ObjectDisposedException: Cannot access a disposed object.”, “You cannot call GetLast immediately after beginning a group.” and “ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint” errors repeatedly appear in the Console
Reproducible with: 1.0.0-exp.8 (2022.2.0b12, 2023.1.0a14)
Couldn’t test with: 0.17.0-preview.42 (2020.3.41f1, 2021.3.13f1, 2022.1.20f1) (Errors due to dependencies)
Reproducible on: Windows 10
-
prawn-star
Dec 07, 2023 21:26
Hey STARFLUKE
Sometimes I can stop this by just opening a different scene. Instead of shutting Unity down and restarting it.
-
StarFluke
Jan 19, 2023 15:16
These errors begin filling my console whether Play Mode is on or off. The only option is to close Unity and restart Unity (which can take a long time for some projects.)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
Resolution Note (fix version 1.1.X - Entities):
Fixed in PR 10259