!MljVigmyqZqNMImsdX:matrix.org

Rust Gamedev WG

58 Members
The Rust Gamedev Working Group2 Servers

Load older messages


SenderMessageTime
23 Jan 2021
@idanwin:matrix.orgAnsho Reibut the problem is that I don't have access to the handle to the asset until the next tick20:59:02
@idanwin:matrix.orgAnsho Reiand the asset is already freed by then, but it's still in the list of assets20:59:23
@idanwin:matrix.orgAnsho Rei
  • tick 0: assets are loaded
  • tick 1: assets are freed, but handles are still in Assets<T>
  • tick 2: handles are no longer in Assets<T>
21:00:23
@idanwin:matrix.orgAnsho Reiso if you make the handles strong in tick 1, they're still removed21:00:48
@idanwin:matrix.orgAnsho ReiDamn, found it in the end21:22:41
@idanwin:matrix.orgAnsho Rei I didn't realize that load_context.set_labeled_asset(label, asset) returned a strong handle 21:23:40
@idanwin:matrix.orgAnsho ReiI thought that because the loader doesn't have access to the Assets<T> I wouldn't be able to make the label strong there, but it already was 🤦‍♂️21:24:50
24 Jan 2021
@idanwin:matrix.orgAnsho ReiThe next problem I'm thinking about, it's not urgent though, is how to implement mod support16:28:06
@idanwin:matrix.orgAnsho ReiI'd like to use Bevy's asset loading for mods too so that modders can enjoy Bevy's hot reloading as well. I'm thinking using a separate AssetServer with a different root path (e.g. "mods" instead of "assets"), loading replacement paths in load order, then preloaded assets in load order, applying any matching replacement paths on the loaded assets. Not sure about the practicality of multiple asset servers but I recall seeing someone do that to solve a different problem before.16:59:54
29 Jan 2021
@greatudini:matrix.orggreatudini joined the room.00:21:53
31 Jan 2021
@ffiw:matrix.orgffiw joined the room.05:57:10
4 Feb 2021
@bfaksdl:matrix.orgbfaksdl joined the room.18:26:44
11 Feb 2021
@justdot:matrix.orgjustdot joined the room.17:52:06
21 Feb 2021
@babuloseo:matrix.orgbabuloseo joined the room.19:33:41
23 Feb 2021
@kristijan.zic:matrix.orgKristijanZic joined the room.02:10:13
25 Feb 2021
@diegov:matrix.orgdiegov joined the room.01:39:30
3 Mar 2021
@babuloseo:matrix.orgbabuloseowhat are some good Rust VSCode addons or tooling20:54:55
@babuloseo:matrix.orgbabuloseoI think I am like 14 hours in my Rust journey so far20:55:11
5 Mar 2021
@dj2:matrix.orgdj2 joined the room.13:18:26
@wodannson:matrix.orgWodannI use Rust Analyzer17:55:34
6 Mar 2021
@romeo555555:matrix.orgOh Romeo joined the room.16:49:29
@romeo555555:matrix.orgOh Romeo left the room.18:07:42
@romeo.555555:matrix.orgromeo.555555 joined the room.18:24:37
27 Mar 2021
@greatudini:matrix.orggreatudini left the room.22:32:09
11 Apr 2021
@onirib:matrix.orgonirib joined the room.14:06:07
30 Apr 2021
@costalfy:matrix.orgcostalfy__ left the room.13:41:15
11 May 2021
@david_li:matrix.orgdavid joined the room.03:24:06
@david_li:matrix.orgdavid changed their display name from david_li to david.03:32:28
13 May 2021
@fzzr:matrix.orgAlex Koz. (fzzr) joined the room.17:51:11
15 May 2021
@alexene:matrix.orgalexene set a profile picture.16:11:48

There are no newer messages yet.


Back to Room List