BabylonJS / BabylonToolkit

Home of the community maintained Unity & Unreal exporters for Babylon.js
173 stars 46 forks source link

MissingMethodException: Method not found: UnityEngine.Cubemap UnityEngine.RenderSettings.get_customReflection() #40

Closed DarXector closed 2 years ago

DarXector commented 2 years ago

Greetings,

I'm using Unity 2021.2.1f1 and Babylon Toolkit: V5.0.0-A48.6X9

When try to Export Scene I get the following issue, and get stuck on Importing assets:

MissingMethodException: Method not found: UnityEngine.Cubemap UnityEngine.RenderSettings.get_customReflection() CanvasTools.CanvasToolsExporter.OnExportScene (SceneExporterTool exporter, System.String name, UnityEngine.Transform[] rootObjTransforms) (at :0)

MackeyK24 commented 2 years ago

Unity changed the static property for custom skybox reflection texture (Cubemap DDS)

I made an update Babylon Toolkit Update (Version 5.0.0-A48.9x9) that uses .net reflection to find the custom reflection texture.