Search Issue Tracker
Won't Fix
Votes
0
Found in
3.5.0f1
Issue ID
441179
Regression
No
CIL2AS : Convert scripts with invalid filenames (spaces).
1) What happened
Simple, error free script appeared to have no effect on the game when exporting to Flash player. Worked fine in normal player, but in Flash, my script did nothing. No warnings or errors were produced in the console during export.
2) How can we reproduce it using the example you attached.
The script filename contained a space. Apparently, the conversion process does a direct mapping from file name to Actionscript class, which can mean invalid class names. Removing the space made the export work perfectly. I attached my project and it should contain everything necessary to reproduce the problem. Really all you need is a script with a space in it that moves the camera, and a camera.
http://answers.unity3d.com/questions/210971/flash-build-does-nothing-at-all.html
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
Add comment