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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment