Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.0b1
Issue ID
757829
Regression
Yes
[LOD][TreeCreator][Shadows]Uninformative error is shown/shadows are corrupted when picking SpeedTree LOD level in Play mode
Steps to reproduce:
1. Open Unity;
2. Open attached project and 'test.unity' scene;
3. Drag any SpeedTree .spm model (for instance, 'Broadleaf_Mobile.spm') from 'Free_SpeedTrees' folder to the Scene view;
4. Enter Play mode;
5. In the Scene view click twice on the SpeedTree model to select its LOD0 level in the Scene view;
6. Observe the console and SceneView rendering.
Actual result:
Weird uninformative error:
GetLocalizedString is not allowed to be called from a MonoBehaviour constructor, call it in Awake or Start instead. Called from script 'TreeEditor' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEditor.LocalizationDatabase:GetLocalizedString(String)
TreeEditor.TreeEditor:.cctor()
is shown in the console.
Also in some cases tree shadows rendering gets corrupted - it starts to blink (doesn't reproduce always).
See attached gif video for clarity.
Regression introduced in 5.4.0b1.
Expected result:
Uninformative error should not be displayed when picking SpeedTree LOD level in Play mode.
Notes:
- Doesn't reproduce in 5.4.0a6 and 5.3.0f4;
- Reproduces on both Windows 10 and OSX 10.10.2;
- Also reproduces when selecting any SpeedTree's LOD level in the Hierarchy view and entering Play mode;
- Also reproduces for tree models created within Unity's Tree Creator when entering play mode and picking them in Scene View;
- Also similar error is thrown when dragging Sprites to the scene view.
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
This is a duplicate of issue #759462