Search Issue Tracker

Not Reproducible

Votes

2

Found in

2018.3.0a4

2018.3.0b1

Issue ID

1082102

Regression

Yes

ReflectionTypeLoadException is thrown in the Player when using System.Reflection to get all types in all assemblies

Scripting

-

To reproduce:
1. Open the user's attached project
2. Build and run the "Bug" scene

Expected result: Every assembly is logged in the Player, just like it is in the Editor
Actual result: ReflectionTypeLoadException is thrown

Reproduced with: 2018.3.0a4, 2018.3.0b2, 2019.1.0a1
Not reproduced with: 2017.4.11f1, 2018.1.9f1, 2018.2.9f1, 2018.3.0a3
Regression started in: 2018.3.0a4

Comments (2)

  1. JonBFS

    Aug 05, 2019 01:55

    Happens in IL2CPP on MacOS. I'm also messing around with reflection so I don't know if it's a Unity problem or me problem.

  2. Elringus

    Sep 28, 2018 16:40

    It's only happening when using Mono backend. With IL2CPP it's not reproducing for Windows standalone.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.