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
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- The Shortcuts window cannot be docked when it is invoked from the Shortcut Helper Bar
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
- Crash on PPtr<Object>::operator when undoing "Modern UI Pack" elements
Add comment