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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Add comment