Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a7
Issue ID
1066700
Regression
Yes
Editor throws "get_dataPath is not allowed to be called from a script constructor" error on upgrading project from 18.2 to 18.3
Editor throws "get_dataPath is not allowed to be called from a script constructor" error on upgrading project from 2018.2 to 2018.3.0a7
Steps to Reproduce:
1. Import "The Courtyard" from the Asset Store to 2018.2.0f2
2. Close the project and open it with 2018.3.0a7
3. Open "Courtyard" scene
4. Enter Play mode.
Reproduced with:
2018.3.0a7
Not reproduced with:
2018.3.0a6.
Error Details:
UnityException: get_dataPath is not allowed to be called from a script constructor (or instance field initializer). Called from 'SubstanceImporter'.
See "Script Serialization" page in the Unity Manual for further details.
Substance.Game.NativeCallbacks.InitSubstance ()
Substance.Game.SubstanceMain.Initialize ()
Substance.Editor.SubstanceImporter..ctor ()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builders incorrectly informs about a circular dependency when the reference in the second UI Document is removed
- TextMeshPro Text is misaligned when it should align in the "flush" style
- Vehicle body is lifted way above wheels containing a WheelCollider Component when entering Play Mode
- A bright horizontal line appears in Game view while underwater, when the cloud layer is enabled
- [HDRP] Clear coat materials produce screen-space reflections when the clear coat value is 0 in "Forward Only" Lit Shader Mode
Add comment