Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

ReflectionTypeLoadException - Map Renderer #113

Closed
userint opened this issue Mar 29, 2021 · 2 comments
Closed

ReflectionTypeLoadException - Map Renderer #113

userint opened this issue Mar 29, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@userint
Copy link

userint commented Mar 29, 2021

Describe the bug
Loading Maps SDK into new project. Map Renderer script dropdown does not display correctly and throws ReflectionTypeLoadException error.

To Reproduce
Steps to reproduce the behavior:

  1. Install Unity 2019.4.15f
  2. Setup new UWP project (targeting Hololens 2)
  3. Modify manifest.json
  4. Create new game object and attach map renderer component
  5. Click map renderer drop down in inspector.

Expected behavior
Maps SDK works.

Screenshots
img
img

Environment (please complete the following information):

  • Unity version: 2019.4.15f1
  • Maps SDK Package version: Tried from 0.8.1 to 0.10.1

Additional context
Add any other context about the problem here.

@userint userint added the bug Something isn't working label Mar 29, 2021
@kircher1
Copy link
Contributor

kircher1 commented Apr 2, 2021

I haven't been able to repro this so I wonder if the exception is due to another assembly in your project that is somehow causing the GetTypes reflection API to fail?

In any case, I think this error could be handled gracefully by our custom component rendering code so that it doesn't make the UI unusable.

As a work-around, you can try right-click on the Inspector tab and try switching it to the Debug view:

image

@kircher1 kircher1 self-assigned this Apr 3, 2021
@kircher1
Copy link
Contributor

Fixed in 0.10.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants