Unity 2d Screen is black when game loads WebGL - unity-webgl

When running my game in the unity engine it works fine but when I click build and run, it does so and the game loads in the webpage, but then the screen is simply black. I can still hear the in game music, so the game is running, just black. I pressed f12 to see the html for the page and as soon as the game loads when the screen goes black it throws like 300 something of the same warning saying
GL_INVALID_FRAMEBUFFER_OPERATION: Draw framebuffer is incomplete.
The error is just below the doctype declaration, on the main page (image)
Does anyone have any idea what this means or how to fix this? I don't even know if this is the source of the error its just a guess.

Related

UI Glitches when using pyqt5+qml

I have a windows application written in qml+pyqt5 (and run on a windows 10 tablet).
Sometimes after a tap or on page switch, the application's background turning white, while the buttons are still visible and can be clicked - once I click them or on the screen - the white background disappear.
Sometimes after a tap or on page switch, there are strange triangles appearing from random places, and disappears on tap or click.
There is no indication of this bugs in the app's logs, and they fixes themselves on tap or click.
I've noticed that it happens more frequently when there is animation in the page - do you think there is a connection between the things?
Do you familiar with the phenomena, and know by any chance what is the root cause of them and how to deal with it?

Linux flash player mozilla firefox plugin appears blue

So I've added the flash player plug-in to my mozilla firefox on linux. It worked, but caused a problem, now the player is visible from other windows (partially), and the player it self appears a little blue.
When the screen goes to sleep (black screen) you can see the flash player on top of the black screen..?, when minimizing the browser then any black outlines on any window are replaced with the flash player content (for example the borders of the console).
It seems that the flash player position on the browser page does change it's position every where else, but scrolling the page down it not helping to get rid of the flash player completely, half of it will still get stacked and be visible.
It that a known problem? Can this be fixed?
p.s. a screenshot doesn't capture this happening.
Easy:
Right click on the flash (youtube) -> Settings -> uncheck 'Enable hardware acceleration'
-> no more blue people, or flash over screen saver!

How to easily test my drawable, icons, splashscreens

I am developing a android game with a friend of mine and I would like to ask you a question about design testing.
Currently, to test my drawable, icons ... I set them on the right size for my android phone, I save it as a PNG, transfer it on my device and only then I can test it directly on my phone ...
Also, sometimes, I set them on the right size, save the png, put it on my drawable folder and build the .apk file ...
Each of this method is a huge time cost for me ! Is there any chance a program can help not wasting my time with all this step ?
Maybe there is something allowing us to put png on a app folder and directly test it on the device ?
Thank you everobody, hope I am clear enough ^^
have a look at this: http://www.html5rocks.com/en/tutorials/developertools/mobile/
Until now, while remote debugging you've had to shift your eyes back
and forth between your device and your devtools. Now, Screencast
displays your devices's screen right alongside your devtools. Seeing
it is good, but interacting with it is even better:
Clicks on the screencast are translated into taps and proper touch
events are fired on the device.
Inspect element on your device with your desktop pointer Type on your desktop keyboard--all keystrokes are sent to the device. A
huge timesaver over typing with your thumbs.
Scroll the page by flinging it with your pointer or just sliding on your laptop trackpad.

MediaElement.js going white in IE6

I am testing MediaElement.js playing in IE6. It starts off working fine, the video is there, playing, within the Flash player. However, when I mouse over the video, it disappears (goes completely white). If I refresh the browser with the mouse where the video lands, and click into it, I can then interact with the controls a bit, but the full screen button causes it to go white again.
EDIT:
A couple other observations:
The audio continues to play even though the video is white
If I select the video area, I can get a hilight the shape of the video
Right clicking the white video region does not indicate a Flash component is present.
Any idea what is happening?
After playing with the CSS as Paul suggested, it turns out a "position: relative" style on a wrapping the video area was the cause.

make my project maximize by default

im not too well versed in flash, i have a c#, java, c++ background so coding comes a little naturally
as of right now i have three soundslides projects playing in my flash project. The project has three buttons which load each different soundslide.
when classmates and my professor open my program the default size it too small, right now when i click ctrl+enter the bottom and bottom right portion of the screen are cut off...so i have to maximize the window maximize so i can see the play buttons?
stage["displayState"]="fullScreen";
This will make the SWF go fullscreen, if you put this in your document class constructor it will happen as the swf loads.

Resources