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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment