Jump to content
Ravencroft

Could not load type 'UnityEngine.RenderTextureDescriptor

Recommended Posts

1) Probuilder Advanced - 2.9.8f3
2) When editing editing faces a Render Error occurs creating a duplicate object that is blue
3) Unity 5.6.3p1 (VR Chat Environment), Windows 10, Geforce 1080 ti
4) This problem only occurs on Probuilder Advanced and not on Probuilder Basic. I tracked down the error to be caused by something in ProBuilderCore-Unity5.dll as replacing this with the basic one stops the problem from happening.

5) Create any Probuilder Object. Select faces button. Keep randomly clicking on faces selecting and deselecting until error occurs. Appears to be an issue when the engine wants to update lighting when moving around faces on the block.
 

6) Probuilder seems to be being picked up now by the VR Chat community as it is an amazing tool. Hopefully this helps and prevents future issues. I definitely want to promote this to more VR Chat World Creators.

 

TypeLoadException: Could not load type 'UnityEngine.RenderTextureDescriptor' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
ProBuilder2.Common.pb_SelectionPicker.RenderSelectionPickerTexture (UnityEngine.Camera camera, IEnumerable`1 selection, System.Collections.Generic.Dictionary`2& map, Int32 width, Int32 height)
ProBuilder2.Common.pb_SelectionPicker.PickFacesInRect (UnityEngine.Camera camera, Rect pickerRect, IEnumerable`1 selection, Int32 renderTextureWidth, Int32 renderTextureHeight)
A.cd843c3fc21479abe3dea190cff2e7645.c6c9b810dc1c3177277adffe8ca31eb98 (UnityEngine.Camera c7eb2fa2bd328fa7fbd31763515879c2a, Rect c7eb2fa2bd328fa7fbd31763515879c2a, IEnumerable`1 c7eb2fa2bd328fa7fbd31763515879c2a, Int32 c7eb2fa2bd328fa7fbd31763515879c2a, Int32 c7eb2fa2bd328fa7fbd31763515879c2a)
ProBuilder2.EditorCommon.pb_Editor.DragCheck ()
ProBuilder2.EditorCommon.pb_Editor.OnSceneGUI (UnityEditor.SceneView scnView)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2403)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1721)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1553)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

probuilderbug.png

Share this post


Link to post
Share on other sites

That looks like a version of ProBuilder built for Unity 2017.1 was imported to a Unity 5.6 project. First thing I'd try is to delete the ProBuilder folder, re-download the ProBuilder package from the Asset Store, then re-import.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×