Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.5.0f3
Issue ID
869168
Regression
Yes
Compiler errors occur when defining a method with name OnMouseDown in a non-monobehaviour class
Steps to reproduce:
1. Open the attached project (OnMouseTest.zip)
2. Go to Build Settings, switch platform to Windows Store
3. Build the project for Windows Store
4. Error messages appear in Console Window:
AssemblyResolutionException: Failed to resolve assembly: 'System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
DirectoryNotFoundException: Destination directory not found: Temp\StagingArea\Data\Resources
Note:
Same behavior with OnMouseDrag, OnMouseExit and etc.
Expected result: The project should be built
Actual result: Error messages appear in Console Window
Reproduced with: 5.5.0a1, 5.5.0f3, 5.5.0p4, 5.6.0b3
Not reproduced with: 5.3.7p3, 5.4.4p1
Regression introduced in 5.5.0a4
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
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
GearKlik
Jun 24, 2017 06:07
Also occurs on 5.6.0f1. Apparently fixed in 5.6.0p1