Skip to content

[FIX] Correctly handle invalid cubemap texture assets#2285

Merged
slimbuck merged 1 commit intoplaycanvas:masterfrom
slimbuck:cubemap-dependent-fix
Jul 14, 2020
Merged

[FIX] Correctly handle invalid cubemap texture assets#2285
slimbuck merged 1 commit intoplaycanvas:masterfrom
slimbuck:cubemap-dependent-fix

Conversation

@slimbuck
Copy link
Copy Markdown
Member

When the cubemap handler is unable to find a dependent texture asset, it now invokes an async step and then attempts to find the asset again. This step allows the caller (for example the scene loader) to finish loading the scene textures before trying again. If the depend asset is still not found an error is raised.

I confirm I have signed the Contributor License Agreement.

@slimbuck slimbuck added bug area: graphics Graphics related issue labels Jul 14, 2020
@slimbuck slimbuck requested a review from a team July 14, 2020 18:06
@slimbuck slimbuck self-assigned this Jul 14, 2020
@slimbuck slimbuck changed the title [FIX] handle missing cubemap assets [FIX] Corrently handle invalid cubemap texture assets Jul 14, 2020
@slimbuck slimbuck changed the title [FIX] Corrently handle invalid cubemap texture assets [FIX] Correctly handle invalid cubemap texture assets Jul 14, 2020
@slimbuck slimbuck merged commit ea2535a into playcanvas:master Jul 14, 2020
@slimbuck slimbuck deleted the cubemap-dependent-fix branch July 14, 2020 20:45
TheJonRobinson added a commit to Mojiworks/playcanvas-engine that referenced this pull request Jul 15, 2020
* mojiworks/pr/sound-stop-typing: (112 commits)
  fix: SoundComponent.stop's string parameter is optional
  [RELEASE] v1.32.0
  [Fix] Changes to Attribute to location mapping (playcanvas#2292)
  Deprecate pc.makeArray (playcanvas#2289)
  [FIX] API ref docs for pc.Mesh#getIndices (playcanvas#2291)
  fix cubemap filtering on safari (playcanvas#2288)
  disable ImageBitmap (playcanvas#2286)
  [Fix] Fix to texture based skinning on Safari (playcanvas#2287)
  fix cubemap dependent loads (playcanvas#2285)
  [Fix] Update to Transform Feedback to work with VAOs (playcanvas#2284)
  Update the anim state graph to support the new data schema (playcanvas#2278)
  Remove viewer (playcanvas#2282)
  [FIX] pc.SoundComponent#resume/stop param type (playcanvas#2281)
  Remove type function (playcanvas#2273)
  Remove some shader-related circular dependencies (playcanvas#2274)
  Glb-parser improvements (playcanvas#2275)
  Fix glb-parser normals generation (playcanvas#2276)
  Glb texture coordinate fix (playcanvas#2252)
  use faces if the asset was previously unloaded (playcanvas#2272)
  fix material resource loader (playcanvas#2268)
  ...

# Conflicts:
#	src/scene/graph-node.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants