Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
8
Found in
5.2.2f1
Issue ID
741985
Regression
No
Nullables of nested struct inside generic class cause internal error
Steps to reproduce:
1. Open attached project
2. Open console
3. Notice "* Assertion at ..\mono\metadata\class.c:1727, condition `class->image->dynamic || field->offset > 0' not met" error
4. Open Test.cs
5. In line 3, make "brokenNullable" non Nullable
Comments (1)
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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
jwittner
Oct 21, 2016 01:50
Put this code into any file and I see the same error:
class TestClass<T>
{
struct TestStruct { }
Dictionary<TestStruct, int> myTest = new Dictionary<TestStruct, int>();
}