Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.27f1
6000.0.0f1
Issue ID
UUM-70796
Regression
No
“ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
How to reproduce:
1. Open the “IL2CPPPlayerDBIssue“ project
2. Open the “SampleScene”
3. Make sure that “Scripting Backend” is set to “IL2CPP” (Edit > Project Settings > Player > Other Settings > Configuration)
4. Make sure that “Development Build” is enabled (File > Build Settings)
5. Build And Run
Expected result: No errors are thrown
Actual result: The “ValidateSchema Error2” error is thrown
Reproduced with: 2022.3.27f1, 6000.0.0f1
Could not test with: 2021.3.38f1 (“get_dataPath is not allowed to be called from a MonoBehaviour constructor” error is thrown)
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
1. Not reproducible in the Editor
2. Not reproducible when “Scripting Backend” is set to “Mono”
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
- WebGPU error with Fantasy Kingdom and GPU Resident Drawer
- WebGPU fails with height fog in Fantasy Kingdom
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
Resolution Note:
The PlatformNotSupportedException is coming from the base class libraries used for the IL2CPP backend. DbProviderFactories is not supported for IL2CPP players. All of the methods on DbProviderFactories will throw a PlatformNotSupportedException.