<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uni-mal</author_name>
  <author_url>https://blog.hatena.ne.jp/uni-mal/</author_url>
  <blog_title>Unityでインディゲームを作る！</blog_title>
  <blog_url>https://indie-game-creation-with-unity.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>（※2022/05/12追記） 今現在、WebGLについていろいろ試しているのですが、なんかよく分からない挙動が多い！その中の一つが音楽が上手く始まらないこと！ 今回扱うのは、音楽流す用のAudio SourceでPlayOnAwake設定を有効にしているのに、WebGL上では上手く機能せず音楽の再生が始まらない、という現象です。またStart関数にaudioSource.Play()と書いても上手く音楽が始まりません。 エディターでプレイする上ではちゃんと再生されるのに、ビルドしてブラウザ上でプレイすると、これらの問題が発生します。 UnityのWebGLにおけるオーディオは、他のプラットフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Findie-game-creation-with-unity.hatenablog.com%2Fentry%2Fweb-gl-audio-starting-issue&quot; title=&quot;Unity WebGLにおけるAudioについて。PlayOnAwakeやStart関数でのPlayが効かない！？ - Unityでインディゲームを作る！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/u/uni-mal/20220110/20220110225620.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-10 23:03:57</published>
  <title>Unity WebGLにおけるAudioについて。PlayOnAwakeやStart関数でのPlayが効かない！？</title>
  <type>rich</type>
  <url>https://indie-game-creation-with-unity.hatenablog.com/entry/web-gl-audio-starting-issue</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
