Search Issue Tracker
Fixed in 5.4.5
Votes
0
Found in
5.4.3f1
Issue ID
850350
Regression
Yes
Building default UnityScript in MonoDevelop fails
Building default UnityScript in MonoDevelop fails
1. What happened
Created new JavaScript from Editor and opened it in MonoDevelop. Trying to build the project produced error 'Unrecognized #pragma directive'.
2. How we can reproduce it using the example you attached
- Open 'NewBehaviourScript.js' in MonoDevelop (shipped with the build on OSX)
- Try building the project
--->
Expected: the project gets build OK
Actual: Error appears 'Unrecognized #pragma directive'
Reproducible in 5.5.0b11, 5.4.2p4, 5.3.7p1. Not reproducible in 5.2.4p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment