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”

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.