Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0a1
2018.2.15f1
2018.3.0a1
Issue ID
1100751
Regression
No
Obscure error is displayed which fails script compilation, but no information is displayed about the cause of the error
Reproduction steps:
1. Open "Repro" project
2. See Error
3. Clear the Errors
4. Select "Main Camera" in "Main" scene
5. See the Script "Nothing Selected" which isn't loaded due to compile errors, but there are no errors
Expected Result: An appropriate error should be outputted which shows what the compilation issue is caused by and where to find it
Actual Result: An obscure Error is displayed
Reproduced with: 2018.3.0a11, 2017.4.17f1
Did not reproduce on: 2019.1.0a12, 2018.3.1f1, 2018.3.0b1
Error:
"InvalidOperationException: Sequence contains no matching element System.Linq.Enumerable.Single[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate)"
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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Resolution Note (2019.1.X):
I have been investigating this bug and I found out that DevXUnityObfuscatorProU523 tool is screwing up Unity compilation pipeline internal code through reflection. Since this tool is modifying Unity internal code that it shouldn't be modified by users we will not take any action on this problem.