Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2018.4.X
Votes
0
Found in
2018.3.0a6
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1113071
Regression
Yes
Constructors called twice on ScriptableObjects with custom attributes when referencing the ScriptableObject instance
How to reproduce:
1. Open the project attached by the user
2. Enter Play mode and observe the console
Expected results: The Singleton Scriptable Object constructor is called once
Actual results: The Singleton Scriptable Object constructor is called multiple times
Reproducible with: 2018.3.6f1, 2019.1.0b4, 2019.2.0a6
Not reproducible with: 2017.4.21f1, 2018.3.0a5
Note: In versions before 2018.3.0a6 the constructor must be called by the user somewhere in the script, in the later versions it's called by just referencing the ScriptableSingleton instance
---------------------------------------------------
Fixed in: 2019.2.0a9
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Add comment