Elvenar использует аппаратное ускорение графики во Flash’e. Flash обычно работает одинаково во всех браузерах, но может случиться так, что вы получите такую ошибку:
В большинстве случаев это происходит в браузере Mozilla Firefox (64 бит), работающем в Windows. В этом случае мы рекомендуем использовать другой браузер, например Google Chrome. Google Chrome использует собственный встроенный Flash Player и не имеет этой проблемы.
Связанные статьи
- Кажется, моя игра снова перезапустилась — я потерял весь прогресс. Как мне вернуться к моей старой игре?
- Я зарегистрировал свой аккаунт, но не получил подтверждение по электронной почте. Что мне делать?
- Не удается загрузить игру или наблюдается медленная работа (лаги). Что я могу сделать?
It’s tricky to know for sure the exact reason, but if you’re getting the «Context3D not available» message from Starling (or the error 3702) then it means the creation of the direct-mode context internally has failed. One possibility of this as mentioned in #364 is that anti-aliasing is ‘not allowed’ in direct mode. So if all of the EGL configs that AIR finds have got anti-aliasing set, then we fail to find an appropriate configuration and will fall back to software composition and therefore can’t do Stage3D.
I have to confess, I don’t know why it’s not permitted to create a direct mode context when anti-aliasing is on. It is fine to do this with GPU contexts i.e. with gpu rendering as well as compositing; just not with direct mode. So we can look at removing this restriction to see what side-effects there might be; if we add it as a fail-over condition then it should minimise the impact i.e. if we can find a configuration that doesn’t use anti-aliasing, then we’ll choose it, but if there are no such suitable configs then we’ll start looking for the best match that does use anti-aliasing…
@ventr1x are you able to provide your app to us so we can try this on an A71 — if you can build it with apk-debug (or aab-debug) it means we can add some extra debugging into it to see what it’s doing… as I just tried a regular starling app on an A71 and it worked fine (without the force-AA setting turned on)
thanks
I am receiving this error every time I try to load a flash website game page. I started getting this immediately after upgrading from Nightly 45a to 48a and the latest flash v21. If I reset Nightly it will take some time but it will load the page and operate properly one time only. Then once shutdown and restarted Nightly will again give the error:
Context3D not available! Possible reasons: wrong wmode or missing device support.
I am running the latest drivers from nvidia 364.51 —> 361 was the same effect
Latest Nightly 48.0a1
Latest Flash 21.0r0
all web caches cleared
all flash caches cleared
I am getting this same effect on Windows 10 x64 and another machine with Windows 7 x64 both operate identically
I did notice hardware acceleration was disabled after the updates and I rechecked hardware acceleration.
Both ways will not work and have no effect on the error.
I have lowered screen resolutions down to 800×600 sheesh no effect
I enabled and disabled e10s multi-process to no avail
Edge works fine, and on the Windows 7 x64 machine I have loaded 32bit Firefox and it is working fine with the flash v21
I am receiving this error every time I try to load a flash website game page. I started getting this immediately after upgrading from Nightly 45a to 48a and the latest flash v21. If I reset Nightly it will take some time but it will load the page and operate properly one time only. Then once shutdown and restarted Nightly will again give the error:
Context3D not available! Possible reasons: wrong wmode or missing device support.
I am running the latest drivers from nvidia 364.51 —> 361 was the same effect
Latest Nightly 48.0a1
Latest Flash 21.0r0
all web caches cleared
all flash caches cleared
I am getting this same effect on Windows 10 x64 and another machine with Windows 7 x64 both operate identically
I did notice hardware acceleration was disabled after the updates and I rechecked hardware acceleration.
Both ways will not work and have no effect on the error.
I have lowered screen resolutions down to 800×600 sheesh no effect
I enabled and disabled e10s multi-process to no avail
Edge works fine, and on the Windows 7 x64 machine I have loaded 32bit Firefox and it is working fine with the flash v21
Приложенные скриншоты
Изменено DC
Выбранное решение
Термин «stage3d error context3d not available» буквально переводится как «ошибка доступа в версию контекста». Это означает наличие внутренней ошибки ускорения. Такие ошибки обычно появляются после того, как пользователь обновляет Firefox. На играх, использующих Flash Player, эта проблема возникает при запусках приложения. И при последующих обновлениях она не устраняется.
Другие причины поломки
– слетает flash-код. Чаще всего это происходит, когда Flash Player обновляется до версии betta;
– если ошибка была в игре, возможно, это последствия неудачного перехода с Flash Player на HTML5;
– устаревший или слабый компьютер и драйверы.
Исправление ошибки
Для начала нужно почитать инструкцию по устранению ошибок на проигрывателе.
На слабый компьютер: если в инструкции ничего понятного вы не нашли, то попробуйте скачать старый вариант флеш-проигрывателя, снимите с него архивацию и запускайте в инсталлятор (например, в fp_11.2.202.235_archive.zipfp_11.2.202.235_archive11_2r202_235_64bit). Выполните перезапуск архива со старыми версиями на своем устройстве.
На старый драйвер: посмотрите, включен ли у вас Java Script. Зайдите в настройки, затем в меню «Содержимое», отметьте галочкой «Включить Java Script». Обновите драйвер видеокарты.
Можно отключить аппаратное ускорение в плеере (не перепутайте его с ускорением в браузере).
Отключите работу плагинов (всех, что имеются на вашем устройстве), используя отдельный процесс. Нужно открыть в меню «about:config» и переключить значение параметра «dom.ipc.plugins.enabled» на «false». Это обычно срабатывает, когда зависают флеш-плеер и сам браузер, так же происходит «падение» плеера.
Минусы приёма: снижается стабильность браузера. Стоит заметить, что прием подходит для версий Firefox 3.6 и выше. В Windows Vista и выше, в Firefox 14 и выше выполнить это не получится.
Если это не помогает, можно воспользоваться следующим:
1. Удалить Firefox с компьютера, очистить кэшированные файлы и заново установить браузер.
Программисты советуют устанавливать русскоязычную ночную сборку Mozilla Firefox – Nightly с версией 64. Если системой этот размер не поддерживается, то можно поставить 32 bit.
Как вариант, удаление Flash Player и установка самой последней версии. Для начала установите тестовый Flash Player. В тестовых версиях, как правило, неполадок в работе не бывает.
2. Зайдите в настройки браузера и отметьте них, что новый Flash Player будет работать по умолчанию. Встроенный плеер, тот, что имеется на браузере, необходимо отключить.
К примеру, в браузере Firefox нужно найти с правой стороны экрана иконку с тремя горизонтальными линиями, выбрать в меню «Дополнительно» и в нём отметить строку «Плагины». Далее нужно выбрать нужный плагин (новый Flash Player) и отметить «Включать всегда». А встроенный плеер (обычно он уже устарел) отметить галочкой «Никогда не включать».
I’m checking out Flash’s 3D capabilities with Away3D, and I’m following the tutorial here. I’ve run into a major problem though. Everytime I run my project in the browser, I get this error:
Error #2044: Unhandled ErrorEvent:. text=Error #3702: Context3D not available.
I can’t see where this error comes from, but it happens after my constructor function ends and before the ENTER_FRAME handler starts.
My code is like this:
package {
import away3d.containers.View3D;
import away3d.entities.Mesh;
import away3d.materials.ColorMaterial;
import away3d.primitives.SphereGeometry;
import flash.display.Sprite;
import flash.events.Event;
[SWF(backgroundColor="#000000", frameRate="60", width="1024", height="768")]
public class TestAway extends Sprite {
private var view:View3D;
public function TestAway() {
view=new View3D();
addChild(view);
var sphereGeometry:SphereGeometry=new SphereGeometry(350);
var sphereMaterial:ColorMaterial=new ColorMaterial(0xff0000);
var mesh:Mesh=new Mesh(sphereGeometry, sphereMaterial);
view.scene.addChild(mesh);
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(event:Event):void {
view.render();
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
}
}
}
Now the wierd thing is, when I run it on my browser (FP 11.2), it doesn’t work (gives that error), but I can run the swf from the desktop perfectly.
Also, the example file on the tutorial page runs perfectly. What setting is missing, and how can I fix it?





