Search Issue Tracker
Won't Fix
Votes
2
Found in
2022.3.3f1
2023.1.1f1
2023.2.0a20
Issue ID
UUM-40768
Regression
No
Scriptable Objects do not get created when generating from Source Generators
Reproduction steps:
1. Open the attached “Test Project” project
2. Create a new Asset by right-clicking in the Project window and selecting Create > Scriptable Values > ClassTest
3. Observe the newly created SO in the Inspector window
Expected result: The “Script” variable is set to an appropriate Script
Actual result: The “Script” variable is not set to anything
Reproducible with: 2022.3.3f1, 2023.1.1f1, 2023.2.0a20
Couldn’t test with: 2021.3.27f1 - No support for “GenerateScriptableValue”
Reproducible on: Windows 10
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Today we only support this kind of behavior when the cs file are imported.
The reason is that is how we deterministically track its ID, the ID are part of the *.cs.meta file.
Hopefully we can solve this at a later time, but currently this is sadly not something we can handle.